Commit graph

5106 commits

Author SHA1 Message Date
caiwp
dbabc35e71 Delete the useless code () 2017-03-20 21:17:07 +08:00
Fabian Zaremba
5586445207 LFS: Return 404 for unimplemented endpoints ()
Without this patch a 401 is returned for unspecified endpoints, making
the LFS client ask for HTTP credentials. This behaviour was introduced
with the new locking API:

https://github.com/git-lfs/git-lfs/blob/master/docs/api/locking.md
2017-03-20 16:40:20 +08:00
Sandro Santilli
9182a35f18 Show user OpenID URIs in their profile () 2017-03-20 09:31:08 +01:00
Sandro Santilli
e1586898b2 Add change-password admin command ()
* Add change-password admin command
2017-03-20 09:23:38 +01:00
Sandro Santilli
97ee88975a Add captcha support to OpenID based signup 2017-03-20 08:58:00 +01:00
Sandro Santilli
f00a4c8078 Gitea OpenID-2.0 login has been tested with livejournal.com too 2017-03-20 08:51:56 +01:00
Sandro Santilli
a9de85d31d Improve style of user OpenID setting page ()
* Improve user openid list CSS and regenerate CSS
2017-03-20 08:51:33 +01:00
Lunny Xiao
608cd54a68 fix gpg wrong column types 2017-03-20 02:55:07 +01:00
Sandro Santilli
430cc4f42a Use readonly input form to show the validated OpenID URI () 2017-03-20 09:50:24 +08:00
Lunny Xiao
8bcb643a03 remove empty file () 2017-03-19 21:43:04 +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
5ecb369dac Specify that time interval units are seconds () 2017-03-18 11:10:30 +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
Lunny Xiao
ebbcf6fe12 Allow push to init a wiki repo ()
* allow push to init a wiki repo

* compact error check
2017-03-17 12:59:42 +08:00
Lunny Xiao
3cf0e513e6 fix wrong log when push to a new branch () 2017-03-17 10:15:00 +08:00
Antoine GIRARD
925b252927 Fix missing less sources for oauth () 2017-03-17 08:49:24 +08:00
Patrick G
1476bf909e Make wording of commit search more clear 2017-03-17 01:34:35 +01: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
Sandro Santilli
447c9b428f Send notifications to partecipants in issue comments ()
* Send notifications to partecipants in issue comments

Closes 

Includes test (still failing)

* Do not include "labelers" to participants

Fix test to expect what GetParticipants return
2017-03-16 09:34:24 +08:00
Antoine GIRARD
ca1c3f1926 Implement GPG api ()
* Implement GPG API

* Better handle error

* Apply review recommendation + simplify database operations

* Remove useless comments
2017-03-16 09:27:35 +08:00
Andrey Nering
43c5469f81 Merge pull request from ethantkoenig/fix/access
Fix nil-dereference bug
2017-03-15 21:21:57 -03: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
17f403fbcd Fix nil-dereference bug 2017-03-15 14:09:44 -04:00
Thomas Boerger
780cb692d6 Make sure both scripts/ can live side by side () 2017-03-15 16:11:26 +01:00
Thomas Boerger
42032fdecf Synced licenses with github repo ()
* Added script to download licenses from github

* Synced licenses with github repo
2017-03-15 13:30:16 +01:00
Thomas Boerger
a06c3ad2c0 Synced gitignores with github repo ()
* Renamed scripts directory into contrib

* Added script to download gitignores from github

* Synced gitignores with github repo
2017-03-15 13:30:00 +01:00
Ethan Koenig
09fe4a2ae9 Batch updates for issues () 2017-03-15 02:10:35 +01:00
Ethan Koenig
021904e4e6 Fix typos in models/ and modules/ () 2017-03-15 08:52:01 +08:00
Ethan Koenig
ec0ae5d50c Refactor and fix incorrect comment () 2017-03-15 08:51:46 +08: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
8746fb3385 Fix migration comment () 2017-03-14 14:39:02 +08:00
Patrick G
79ec33fd60 Update locale_en-US.ini () 2017-03-14 11:24:46 +08:00
Lunny Xiao
1ccdf19fae fix forget migration for wiki hooks () 2017-03-13 14:27:29 +08:00
Lunny Xiao
be5738243c fix repo settings external tracker failed and check external urls () 2017-03-13 09:41:40 +08:00
Patrick G
08aae4952b Add myself to maintainers () 2017-03-13 08:48:39 +08: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
0475e7351f Reserve the "explore" user/org name () 2017-03-12 09:39:38 +08:00
Mura Li
bdcc1a23e0 Add integration test for signup ()
* Add integration test for signup

* Remove unused functions

* Refactoring

* Add repo_create_test.go

* Rollback the incomplete repo create test

* Comply with linter requirements and simplify the code a little bit
2017-03-11 22:30:29 +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
Ethan Koenig
c99e7e1a62 Simplify RepositoryList.loadAttributes() () 2017-03-11 16:50:12 +08:00
Ethan Koenig
3803f257fb Move user_follow to separate file ()
Also add unit tests
2017-03-11 16:46:53 +08:00
Ethan Koenig
1e3548b7e7 Unit tests for issue_list () 2017-03-11 16:46:23 +08:00
Patrick G
64214a9426 Search bar fixes for and () 2017-03-11 16:45:15 +08:00
Philippe Kueck
e2b2fd6e78 fix , commit messages containing a pipe () 2017-03-11 12:01:38 +08:00