2
0
Commit Graph

1315 Commits

Author SHA1 Message Date
Lunny Xiao
6b7f59948a Merge pull request #73 from bkcsoft/gt/2164-release-pagination
Add Pagination to Releases-page (and de-duplicate pagination templates)
2016-11-08 10:39:03 +08:00
Sandro Santilli
5b2f4f227b Fix type in unused constant name (#111)
* Write LDAP, SMTP, PAM, DLDAP back to all uppercase

* Fix type in unused constant name

* Other MixCased fixes

* Complete MixerCasing of template constants

* Re uppercase LTS and LDAPS suffixes

* Uppercase JSON suffix in constant names

* Proper case LoginNoType

* Prefix unexported template path constants with "tpl"
2016-11-07 18:58:22 -02:00
Sandro Santilli
740e0514cf And others 2016-11-07 17:53:22 +01:00
Sandro Santilli
b7a714126b more 2016-11-07 17:41:28 +01:00
Sandro Santilli
8a7847982a Security protocols 2016-11-07 17:38:43 +01:00
Sandro Santilli
8719a7d27a More mixage 2016-11-07 17:37:28 +01:00
Sandro Santilli
679f39b5ef More overlooks 2016-11-07 17:35:34 +01:00
Sandro Santilli
33bd2e4f90 This one I overlooked before 2016-11-07 17:33:03 +01:00
Sandro Santilli
fefdd3bbaf More... 2016-11-07 17:30:04 +01:00
Sandro Santilli
353e6c4cfc More MixedCase consts 2016-11-07 17:24:59 +01:00
Sandro Santilli
78d721a905 ACCESS_MODE_* -> AccessMode* 2016-11-07 17:20:37 +01:00
Sandro Santilli
d02733c669 More MixedCase consts 2016-11-07 17:08:21 +01:00
Sandro Santilli
f368ff5d88 Use MixedCase constant names
See https://github.com/golang/go/wiki/CodeReviewComments#mixed-caps
2016-11-07 17:05:08 +01:00
Thomas Boerger
0407d5f9cb Merge pull request #108 from go-gitea/go-sdk
Replaced gogits go-gogs-client with go-sdk
2016-11-07 16:31:17 +01:00
Sandro Santilli
430bed3235 Merge pull request #103 from strk/GOGS_drop
Replace GOGS with GITEA in variable names
2016-11-07 16:30:48 +01:00
Joubert RedRat
630c0bbda5 Replace Gogs to Gitea in installation options 2016-11-07 13:26:19 -02:00
Thomas Boerger
8370af17f2 Replaced go-gogs-client with go-sdk imports 2016-11-07 16:10:32 +01:00
Sandro Santilli
9c9b7166cd Fix typo in unused constant name 2016-11-07 16:06:21 +01:00
Sandro Santilli
d90e33d6df Replace GOGS with GITEA in variable names
Still use GOGS_WORK_DIR and GOGS_CUSTOM env variables
as a fallback if the equivalent GITEA_* are not set,
warning user about the need for change.

Does not change "gogs" to "gitea" in webhook type name
Because "gogs" hook type is part of the API (routes) and used
in templates...

Closes #87
2016-11-07 16:05:18 +01:00
Kim "BKC" Carlbäcker
229cfdcf43 Add Pagination to Releases-page 2016-11-07 11:41:09 +01:00
Sandro Santilli
2cc11efdcf Replace gogits/git-module dependency with go-gitea/git (#94)
* Replace gogits/git-module dependency with go-gitea/git

Fixes #92

* Remove git alias for git module import (not needed)
2016-11-06 11:18:34 -02:00
LefsFlare
961087062c Adds checking of reserved keywords against team names (#22) 2016-11-06 10:07:03 +01:00
Thibault Meyer
cbc7172f50 Ordering team by name ascending except for 'Owners' (#48) 2016-11-06 09:59:21 +01:00
Matthias Loibl
974f58ee82 Add missing version & gogs package 2016-11-05 18:04:47 +01:00
Matthias Loibl
b2f20b4726 Fix imports found by goimports. 2016-11-05 17:56:35 +01:00
Thomas Boerger
5e0505a6a7 Vet complains about "should have signature MarshalJSON() ([]byte, error)", replaced with custom name 2016-11-04 23:45:06 +01:00
Matthias Loibl
a097cafb16 Run goimports on the whole project (#34)
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
2016-11-04 09:57:27 -02:00
Rémy Boulanouar
ac33536be0 Implementation of the feature to redirect to an external issue tracker 2016-11-04 09:06:54 +01:00
Rémy Boulanouar
61ec6729e6 Change import reference to match gitea instead of gogs (#37) 2016-11-03 10:29:56 -02:00
Sandro Santilli
5db40ec9cf Fix sender of issue notifications
It is the FROM field in mailer configuration that needs be used,
not the USER field, which is for authentication.

Closes https://github.com/gogits/gogs/issues/3615
2016-11-02 21:00:54 +01:00
LefsFlare
02b7f22643 Changed interface (#3685) 2016-09-22 19:38:12 -04:00
Unknwon
35f69d650b #3589 LoadRepoConfig after ORM is initialized 2016-09-02 23:18:37 -04:00
Unknwon
386f762386 #3577 incorrect URL produced by AvatarLink 2016-09-01 12:36:26 -04:00
Unknwon
5056178ca0 Fix panic when attempt login with non-exist user 2016-09-01 05:12:34 -04:00
Unknwon
a9ebee89b6 Minor code fix [CI SKIP] 2016-08-31 04:31:53 -07:00
Unknwon
d7cd5f6363 models/login_source: code improvement 2016-08-31 01:22:41 -07:00
Unknwon
d2fc115de3 #3515 use alert instead 500 for duplicated login source name 2016-08-31 00:56:10 -07:00
Unknwon
de6b7fff77 #2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue
- Closes #3509
2016-08-30 16:18:33 -07:00
Unknwon
7043b6b263 modules/sync: add UniqueQueue 2016-08-30 15:50:30 -07:00
Unknwon
cebc13b5ed modules/sync: rename SingleInstancePool to ExclusivePool 2016-08-30 15:19:53 -07:00
Unknwon
c5dea9e790 Web editor: support upload files 2016-08-30 05:23:59 -07:00
Unknwon
d3b79c7c68 #3459 code quality improvement 2016-08-29 20:00:06 -07:00
Thibault Meyer
09648cfb39 Load a set of predefined labels (#3459)
* Can use a predefined set of labels

* Change UI

* Fix HTML file indentation

* Avoid reading file from other directory (security issue)

* Apply a better fix

* Remove not used variable

* Merge upstream/develop

* Do modifications

* Raname

* remove binding + rename variable
2016-08-29 19:02:49 -07:00
LFlare
a160bf238a Fixed typo (#3533)
Git convention has it capitalised.
2016-08-29 11:31:12 -07:00
Unknwon
a6b484f417 Web editor: fix cannot create new file in subdirectory 2016-08-29 00:10:21 -07:00
Unknwon
b2d03ef595 Web editor: disallow edit mirror repository 2016-08-28 04:56:41 -07:00
Unknwon
6aa50bcc06 Web editor: improve delete file process 2016-08-28 01:41:44 -07:00
Unknwon
1be9c2bdc7 #2901 allow setting preferred licenses
- Closes #3488
2016-08-28 00:06:22 -07:00
Unknwon
a5d8695d08 #3505 use user’s info for committer and author 2016-08-27 13:37:55 -07:00
Unknwon
817470c670 label: adjust forecolor boundary 2016-08-27 12:44:39 -07:00