Lunny Xiao
f47714c501
move code.gitea.io/git to code.gitea.io/gitea/modules/git ( #6364 )
* move code.gitea.io/git to code.gitea.io/gitea/modules/git
* fix imports
* fix fmt
* fix misspell
* remove wrong tests data
* fix unit tests
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* enable Debug to trace the failure tests
* fix tests
* fix tests
* fix tests
* fix tests
* fix tests
* comment commit count tests since git clone depth is 50
* fix tests
* update from code.gitea.io/git
* revert change to makefile
6 years ago
Gabriel Silva Simões
814893053d
Fix serving of raw wiki files other than .md ( #5814 )
* Fix serving of raw wiki files other than .md
Closes #4690 .
Closes #4395 .
Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>
* Simplify code at routers/repo/wiki.go
Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>
* Add more files to user2/repo1.wiki for testing
Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>
* Update macaron to v1.3.2
Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>
* Add tests for WikiRaw
Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>
* Fix NewResponseWriter usage due to macaron update
Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>
* Add raw to reserved wiki names
Signed-off-by: Gabriel Silva Simões <simoes.sgabriel@gmail.com>
6 years ago
Lunny Xiao
8042400291
Fix deadlock when sqlite ( #5118 )
* fix deadlock when sqlite
* fix clonelink deadlock on sqlite
7 years ago
Lauris BH
2a4449a270
Fix to use only needed columns from tables to get repository git paths ( #3870 )
7 years ago
Lauris BH
eee4183e85
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
Lauris BH
7e6c1c22ee
Remove hardcoded paths to fix randomly failing tests ( #3347 )
* Remove hardcoded paths to fix randomly failing tests
* Use correct function for merge path
7 years ago
Ethan Koenig
0e07dffc44
Various wiki bug fixes ( #2996 )
* Update macaron
* Various wiki bug fixes
8 years ago
Ethan Koenig
f41d919144
Update code.gitea.io/git ( #1824 )
* Update code.gitea.io/git
* Update function calls
* govendor fetch
8 years ago
Lunny Xiao
7c64045ea5
fix wiki bugs ( #1294 )
8 years ago
Lunny Xiao
a392789294
Take back control of hooks ( #1006 )
* git: delegate all server-side Git hooks (#1623 )
* create hooks directories
* take control hooks back
* fix lint
* bug fixed and minor changes
* fix imports style
* fix migration scripts
8 years ago
Gabriel Jackson
3e7f8ec9d3
Cleanup log messaging
This change corrects a few logging issues:
* Standardized formatting errors with '%v'.
* Standardized failure warning word usage.
* Corrected an instance of using the standard log library when
the gitea log library should be used instead.
8 years ago
Ethan Koenig
01220b7cb4
Unit tests for models/wiki
8 years ago
Bwko
6d8be9f80f
Add a reserved path check to the wiki ( #720 )
8 years ago
Lunny Xiao
e8dcc23d91
fixed bugs on Wiki and resolved #667 ( #674 )
8 years ago
Bwko
0cbb209b6c
In the wiki title replace tab with a space ( #371 )
9 years ago
Bwko
8a714b742a
Fix for #320
Suppress the error when we're removing a file that may not exist
9 years ago
Bwko
6299533be7
Catch os... errors
9 years ago
Sandro Santilli
3d87a4d14a
Fix lint errors in models/wiki (just add methods docs)
See #70
9 years ago
Sandro Santilli
cb1b3cc148
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
9 years ago
Sandro Santilli
3c9693defb
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)
9 years ago
Rémy Boulanouar
9712d5ee89
Change import reference to match gitea instead of gogs ( #37 )
9 years ago
Unknwon
247158c599
modules/sync: rename SingleInstancePool to ExclusivePool
9 years ago
Unknwon
060b0da36e
#3505 use user’s info for committer and author
9 years ago
Unknwon
ac5888c736
#3467 fix clone fail when wiki is empty
9 years ago
Unknwon
0c19e1f0ec
Web editor: improve edit file and diff preview
9 years ago
Unknwon
86193aff62
modules/sync: move sync objects to independent module
9 years ago
Richard Mahn
247e2fc567
Squashed commit of the following:
commit 0afcb843d7
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 17:13:29 2016 -0600
Removed Upload stats as the upload table is just a temporary table
commit 7ecd73ff55
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591
Merge: 7fc8a89 991ce42
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:42:53 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit 7fc8a89cb495478225b02d613e647f99a1489634
Merge: fd3d86c c03d040
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:40:00 2016 -0600
Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file
commit fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:39:44 2016 -0600
Code cleanup
commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 29 15:38:23 2016 -0600
Code cleanup
commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:36:01 2016 -0600
Code cleanup and fixes
commit c2895dc742f25f8412879c9fa15e18f27f42f194
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:24:04 2016 -0600
Fixes per Unknwon's requests
commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef
Merge: 889e9fa ad7ea88
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 17:13:43 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
modules/setting/setting.go
commit 889e9faf1bd8559a4979c8f46005d488c1a234d4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:09:18 2016 -0600
Fix in gogs.js
commit 47603edf223f147b114be65f3bd27bc1e88827a5
Merge: bb57912 cf85e9e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:07:36 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit bb5791255867a71c11a77b639db050ad09c597a4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:02:18 2016 -0600
Update for using CodeMirror mode addon
commit d10d128c51039be19e2af9c66c63db66a9f2ec6d
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 16:12:57 2016 -0600
Update for Edit
commit 34a34982025144e3225e389f7849eb6273c1d576
Merge: fa1b752 1c7dcdd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 11:52:02 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
commit fa1b752be29cd455c5184ddac2ffe80b3489763e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 15 18:35:42 2016 -0600
Feature for editing, creating, uploading and deleting files
9 years ago
Unknwon
b04ef27a6a
#3233 code cleanup and minor issue fix
9 years ago
Unknwon
1a9bda1fd6
Fix wiki vulnerabilities
- Arbitrary file creation leading to command execution
- .md file creation/deletion
Reported by Gabriel Campana.
9 years ago
Unknwon
c6e46255cb
Minor fixes for #2746
9 years ago
Josh Frye
86919d05cb
Add ability to delete single wiki pages.
9 years ago
Jofkos
45f4c69f74
Removed empty line, multi return args
10 years ago
Jofkos
0293ddd7b0
Wiki pages containing question marks in their name weren't loading
(untested)
10 years ago
Unknwon
8ac9d9b4c7
rename import path
10 years ago
Unknwon
34d69dab86
fix API
10 years ago
Unknwon
72d7ca7fbd
finish wiki
10 years ago
Unknwon
7943f3f40e
wiki: finish edit
10 years ago
Unknwon
42d8bbe23e
wiki: finish new
10 years ago
Unknwon
43eda8feb3
introduce git-shell
10 years ago