Commit graph

1723 commits

Author SHA1 Message Date
Jonas be6edaddcb Repo size in admin panel ()
* Implementation of the feature to view repository size in admin panel
 * Move GetRepoSize to git module
 * Repository.RepoSize -> Repository.Size
 * RepoSize -> Size in template
 * Redo a few bits and pieces
 * Update size when syncing mirror or forking
 * Remove GetRepoSize
 * Changed fatal errors to error message

* Copy migration code from Gogs

* make fmt
2017-04-11 21:30:15 +08:00
Jonas 54f0293f0a Mirror sync interval specified as duration string ()
* Sync interval specifed as duration string

* Changed mirror interval text

* make fmt

* Add MinInterval for mirror sync

* Use duration internally

* Changed min default to 10m

* make fmt

* Incorrect default

* Removed defaults in MustDuration()

* Add Mirror interval migration

* Default values corrected

* Use transaction during migration

* Change http 500 to page with error message

* Cleanup session.commit()
2017-04-08 23:27:26 +08:00
Antoine GIRARD d9db188274 Fix () 2017-04-07 22:50:40 +08:00
Jonas e0df611cbc Autofocus on 2fa passcode fields ()
* Autofocus on 2fa passcode field

* Autofocus on 2fa scratch code field
2017-04-07 06:07:37 -07:00
Morlinest cbeeaa1b11 Fix and simplify repo branches UI () 2017-04-06 23:33:57 +08:00
Patrick G d800305b34 Commit search appearence fixes ()
* Fix button text to be consisstent with rest of UI

* Make all commits checkbox look nicer
2017-04-05 18:32:59 -07:00
Bo-Yi Wu 0cee52e0d3 fix: remove str2html from org full name ()
* fix: remove str2html for security issue.

* fix: update
2017-04-05 18:31:31 -07:00
Morlinest 21fd3da6f5 Fix disabled fields in repo settings UI () 2017-04-03 10:19:51 +08:00
Andrey Nering 37a34c1a28 Merge pull request from andreynering/notification/issue-watch
[Notifications Step 6] Per issue/PR watch/unwatch
2017-04-01 15:12:24 -03:00
Jonas 095e1f5155 Support for custom html meta ()
* Support for custom html meta

* Changed html meta description default
2017-03-31 18:03:01 -07:00
Andrey Nering fac7a6fecf Merge pull request from Morlinest/commit-graph-UI
Use whole button (commit graph) as link
2017-03-30 20:29:57 -03:00
Andrey Nering 4b284f814c UI and translation improvements 2017-03-30 19:10:30 -03:00
Morlinest 4fa691c4dd Make issue in commit graph "clickable" () 2017-03-30 18:05:38 +08:00
Antoine GIRARD 912b340d0d Simplify settings pages with item list ()
* Remove point column on ssh key setting page

* Remove un-used css

* Some cleaning

* Use octicon-key
2017-03-30 09:02:37 +08:00
Andrey Nering e4a33ed4d0 Add octicons to watch/unwatch buttons 2017-03-29 21:08:46 -03:00
Andrey Nering b674460748 Add watch button on issue 2017-03-29 20:31:47 -03:00
Sandro Santilli 129b0d6a4b Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION ()
* Allow ENABLE_OPENID_SIGNUP to depend on DISABLE_REGISTRATION

Omit the configuration variable (the default) to be dependent.
Fixes 

* Move OpenID settings under Service object

* Show OpenID SignUp and SignIn status in admin panel / configuration
2017-03-29 18:57:43 +08:00
Peter Žeby d0298ea2fb Use whole button as link 2017-03-27 12:46:46 +02:00
Andrey Nering 6a451a2b59 Minor improvements on commit graph UI ()
* Make "Commit Graph" link a button and translate it

* Add title on Commit Graph page
2017-03-24 10:32:40 +08:00
Jonas bbbd08edc1 Changed text when password reset disabled. ()
Fixes 
2017-03-22 22:29:29 +08:00
aloupfor 1b1b85439e Remove href on first/last link when on first/last page ()
Signed-off-by: Arthur Loupforest <arthur.loupforest@outlook.fr>
2017-03-22 19:37:47 +08:00
Antoine GIRARD 14fe9010ae GPG commit validation ()
* GPG commit validation

* Add translation

+ some little fix

* Move hash calc after retrieving of potential key + missing translation

* Add some little test
2017-03-22 18:43:54 +08:00
Kim "BKC" Carlbäcker c05bd1789c Reduce conditionals in signin/signup inner forms () 2017-03-22 00:50:56 +01:00
Jonas 16732fbfde Removed email copyright year () 2017-03-21 18:00:39 +08:00
Sandro Santilli 15f5d8e794 Reduce conditionals in signin/signup inner forms
by always using SignInLink and SignUpLink in the form action
2017-03-20 09:40:42 +01:00
Sandro Santilli 9182a35f18 Show user OpenID URIs in their profile () 2017-03-20 09:31:08 +01:00
Sandro Santilli 97ee88975a Add captcha support to OpenID based signup 2017-03-20 08:58:00 +01:00
Sandro Santilli 430cc4f42a Use readonly input form to show the validated OpenID URI () 2017-03-20 09:50:24 +08:00
Sandro Santilli 2aad4a5f97 Use font-awesome OpenID icon more () 2017-03-19 16:25:24 +08:00
Patrick G b57b0c6e40 Fix inconsistency in layout () 2017-03-18 19:00:09 +08:00
Bo-Yi Wu 1c3bd436cc feat: Only use issue and wiki on repo. () 2017-03-18 18:59:07 +08:00
Sandro Santilli 71d16f69ff Login via OpenID-2.0 () 2017-03-17 15:16:08 +01:00
Kim "BKC" Carlbäcker 0693fbfc00 Refactor repo/issue/view_content.tmpl () 2017-03-17 13:57:43 +08:00
Kim "BKC" Carlbäcker 7a81cd16c5 Refactor admin/auth/new.tmpl () 2017-03-17 13:55:04 +08:00
Fabian Zaremba f1d2f16b54 Add notice that LFS mirroring is not supported ()
* Add notice that LFS mirroring is not supported

* Drop German translation
2017-03-16 19:33:22 +08:00
Patrick G efbb895ebe Cleaner ui for admin, repo settings, and user settings page () () 2017-03-15 23:39:38 +01:00
Patrick G 03d79983ee Cleaner UI for explore page () ()
* Take navbar out of column
* Add styles to navbar
* Changed navbar classes
* Remove unneeded !important from index.css
* Remove unneeded !important from _explore.less
2017-03-15 19:55:12 +01:00
Ethan Koenig 09fe4a2ae9 Batch updates for issues () 2017-03-15 02:10:35 +01:00
Sandro Santilli 7d8f9d1c46 Rename /forget_password url to /forgot_password
Also renames `forgot_password` translation key to
`forgot_password_title` and `forget_password` to
`forgot_password`

Includes entry in CHANGELOG about the breaking change
(and some markdown fixes in there)
2017-03-14 22:54:07 +01:00
Sandro Santilli f0efb615c5 Add LibreJS support ()
See See https://www.gnu.org/software/librejs/

Closes 
2017-03-12 22:50:20 +08:00
Lunny Xiao 608bbedee1 fix 500 caused by branches settings introduced by () 2017-03-12 21:50:26 +08:00
Sandro Santilli 8a98a25d8e Show a link to password reset from password change and delete account ()
It's helpful when you forgot your password thus cannot change it
(can happen if you log in via OAuth2 or OpenID)

Also make sure that both the delete-account and password-change
links to forgot-password will have the primary email pre-filled
2017-03-11 17:11:54 +08:00
Patrick G ccc15b9e1a Make strings translatable () ()
* Add strings to ini

* Make strings translatable ()
2017-03-11 09:28:25 +08:00
Lunny Xiao b40496533b fix leave team 404 () 2017-03-09 19:18:49 +08:00
Jonas f3bf409082 Log config pretty printer ()
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
2017-03-02 08:25:44 +08:00
Bo-Yi Wu 19bc2b10ae fix: Add str2html on DisplayName of Org. () 2017-03-01 12:02:19 +08:00
Jonas a201977590 Fix for : Embed build tags ()
* Fix for 
Add build tags to ldflags and print in version output

Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>

* Reworked formatBuiltWith function

Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>

* Add tags to version information in admin panel

Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>

* Added new variable for use on admin page.

Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>

* Fixed incorrect indentation
2017-02-28 08:40:02 +08:00
Jonas 9ad3a07989 Fix for : Corrected process ID placeholder to PID from Pid ()
Signed-off-by: Jonas Östanbäck <jonas.ostanback@gmail.com>
2017-02-25 11:12:46 +08:00
Lunny Xiao 12e71e5706 Removed footer copyright year ()
* change footer copyright year from 2016 to 2017

* add 2016 copyright back

* remove the copyright year
2017-02-24 16:21:45 +08:00
puffybsd 8de8e11487 Fixes 1019, install page SMTP user is required to ()
to be an email address.

Signed-off-by: P.B. <puffybsd@yahoo.com>
2017-02-24 09:37:13 +08:00