Lunny Xiao
eabbddcd98
Restrict permission check on repositories and fix some problems (#5314)
* fix units permission problems
* fix some bugs and merge LoadUnits to repoAssignment
* refactor permission struct and add some copyright heads
* remove unused codes
* fix routes units check
* improve permission check
* add unit tests for permission
* fix typo
* fix tests
* fix some routes
* fix api permission check
* improve permission check
* fix some permission check
* fix tests
* fix tests
* improve some permission check
* fix some permission check
* refactor AccessLevel
* fix bug
* fix tests
* fix tests
* fix tests
* fix AccessLevel
* rename CanAccess
* fix tests
* fix comment
* fix bug
* add missing unit for test repos
* fix bug
* rename some functions
* fix routes check
пре 5 година
cezar97
51ba3df5ff
Add `noreferrer` to rel='noopener` for <a> tags (#4328)
пре 6 година
Lauris BH
c0d41b1b77
Add label descriptions (#3662)
* Add label descriptions
* Add default descriptions to label template
пре 6 година
Bwko
a345a03d99
Added sorting to the labels & milestones page (#199)
пре 7 година
Bwko
5ab85372da
Added rel="noopener" to target="_blank" hrefs (#327)
* Added rel="noopener" to target="_blank" hrefs
* Replaced gogs.io/docs with docs.gitea.io
пре 7 година
Unknwon
28cf0e6aaa
#3459 code quality improvement
пре 7 година
Thibault Meyer
92fb30c526
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
пре 7 година
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
пре 8 година
Lukas Dietrich
c0eaae200e
Add ForegroundColor for labels
пре 8 година
Adam Strzelecki
da2585c11e
Indent all templates with tabs
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.
1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
such as {{if}} {{with}}
2. Cleans all trailing white-space
3. Adds trailing last line-break to each file
пре 8 година
Adam Strzelecki
2580e7b57e
UI: Always show menu on repo pages
Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use
middleware.RepoRef() necessary to display information on this menu.
пре 8 година
Adam Strzelecki
3eae4ecde7
UI: Make repository menu divide header and content
This is more inline with way GitHub looks like and feels much more natural and
in style with rest of the interface.
пре 8 година
Unknwon
134d8e7681
work on #1961
пре 8 година
Unknwon
8a3ee795d2
finish transforming to v2
пре 9 година
Unknwon
7372042441
list view: issue, label, milestone
пре 9 година
Unknwon
0705f55ce0
finish new milestone page
пре 9 година
Unknwon
3e4cdccf6b
milestone: create page
пре 9 година
Unknwon
04458d49a0
milestone: list view
пре 9 година
Unknwon
dc4aab9925
UI: CURD labels
- fix update lable break connection with repository
пре 9 година
Unknwon
ac95f6d50f
UI: basic label list
- create new label
пре 9 година