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
6 years ago
Michael Kuhn
fd274ffcd9
Fix wiki redirects ( #3919 )
...
When creating or editing a wiki page, the redirect to the wiki page does
not work because the file name is used instead of the page name.
7 years ago
Lauris BH
283e87d814
Fix rendering of wiki page list if wiki repo contains other files ( #3454 )
...
* Fix rendering of wiki page list if wiki repo contains other files
* Improve wiki filename tests
7 years ago
Morgan Bazalgette
65861900cd
Handle refactor ( #3339 )
...
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound
7 years ago
Lauris BH
d3c5911ffc
Fix wiki page list not rendering after updatedunix changes ( #3175 )
7 years ago
Ethan Koenig
b7ebaf6d20
Various wiki bug fixes ( #2996 )
...
* Update macaron
* Various wiki bug fixes
7 years ago
Lunny Xiao
0d80af649a
Add init support of orgmode document type on file view and readme ( #2525 )
...
* add init support of orgmode document type on file view and readme
* fix imports
* fix imports and readmeExist
* fix imports order
* fix format
* remove unnecessary convert
7 years ago
Ethan Koenig
f29458bd3a
EnableUnit() -> UnitEnabled() ( #2242 )
7 years ago
Lunny Xiao
52627032bc
Add markup package to prepare for org markup format ( #1493 )
8 years ago
Lunny Xiao
bd8fe49076
fix wiki bugs ( #1294 )
8 years ago
Lunny Xiao
af9998b8a7
fix UI display problem when wiki name is non-ascii charset ( #1142 )
8 years ago
Andrew Boyarshin
dc8248f8a4
Markdown rendering overhaul ( #186 )
...
* Markdown rendering overhaul
Cleaned up and squashed commits into single one.
Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
* Fix markdown API, add markdown module and API tests, improve code coverage
Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
8 years ago
Lunny Xiao
8a421b1fd7
Add units concept for modulable functions of a repository ( #742 )
...
* Add units concept for modulable functions of a repository
* remove unused comment codes & fix lints and tests
* remove unused comment codes
* use struct config instead of map
* fix lint
* rm wrong files
* fix tests
8 years ago
Lunny Xiao
f8c2903484
fixed bugs on Wiki and resolved #667 ( #674 )
8 years ago
Lunny Xiao
47a7529d96
update code.gitea.io/git ( #450 )
8 years ago
Lunny Xiao
b2cce12980
golint fixed for routers/repo/wiki.go ( #203 )
8 years ago
Sandro Santilli
4247304f5a
Update import paths from github.com/go-gitea to code.gitea.io ( #135 )
...
- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path
8 years ago
Sandro Santilli
6e4252dad4
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)
8 years ago
Rémy Boulanouar
2d68bd1ef9
Change import reference to match gitea instead of gogs ( #37 )
8 years ago
Unknwon
e84ac64964
Do not show filename not have suffifx .md
9 years ago
Unknwon
514382e2eb
Rename module: middleware -> context
9 years ago
Unknwon
9df6ce48c5
Minor fixes for #2746
9 years ago
Josh Frye
1ca171dbe9
Add ability to delete single wiki pages.
9 years ago
Unknwon
d5a3021a7d
Make markdown as an independent module
9 years ago
Unknwon
19423957b1
rename import path
9 years ago
Unknwon
40f3142264
#2114 External URL for wiki
9 years ago
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
9 years ago
Unknwon
e538ff2770
fix #1829 and fix #890
9 years ago
Unknwon
5d1f5f32d0
wiki: finish pages
9 years ago
Unknwon
e42fcb033d
wiki: finish edit
9 years ago
Unknwon
392f3ee210
wiki: finish new
9 years ago
Unknwon
c50a3503e6
introduce git-shell
9 years ago
Unknwon
2b10fdc4dc
Wiki: UI for page new
9 years ago