Commit Graph

76 Commits

Author SHA1 Message Date
shimamoto
259bcfc14f (refs #341) Fix compile errors. 2014-07-01 04:08:15 +09:00
takezoe
259637ce3c Fix wiki styles 2014-05-11 01:38:12 +09:00
takezoe
02a367fd99 Add SystemSettings to Context properties 2014-03-15 01:24:34 +09:00
takezoe
d1c6c763e2 (refs #115)Add button to toggle http/ssh for wiki repository url box 2014-03-14 10:59:42 +09:00
takezoe
590b431ec1 Add FlashMapSupport to ControllerBase. 2014-03-01 13:27:36 +09:00
takezoe
0e9bf59c0f Remove some functions from ControlUtil. 2013-12-15 04:21:39 +09:00
takezoe
c517b44e82 Upgrade to scalatra-forms 0.0.4 2013-11-02 05:07:09 +09:00
takezoe
e79ded934f Display selected page differences only. 2013-10-30 11:37:53 +09:00
takezoe
68b25ddbb5 (refs #180)Implementing reverting from history without ApplyCommand. 2013-10-30 08:20:17 +09:00
takezoe
afb2306904 (refs #180)Fix saving and deleting Wiki page. 2013-10-29 11:39:38 +09:00
Robin Stocker
13bff2963e Add full name to account and use it to create commits (#125)
The Git practice is to use the full name when creating commits, not a
user name. This commit fixes that by introducing a fullName field to
Account and using it when creating commits.

For migrating from earlier versions, the user name is used as an initial
value for the full name field.
2013-10-06 23:11:09 +02:00
takezoe
380cdbcf75 Add FileUtil#getContentType(). 2013-10-04 04:17:30 +09:00
takezoe
f4f2bf34fc (refs #73)Add Wiki conflict detection and some fix. 2013-10-04 03:48:51 +09:00
takezoe
d95bd20cbe Fix commit message for Wiki editing. 2013-10-03 11:44:15 +09:00
takezoe
70ca98d6a2 (refs #38)Add reverting wiki from history. 2013-10-03 03:42:38 +09:00
takezoe
e89b2020a3 Use ControlUtil. 2013-09-21 22:13:15 +09:00
takezoe
b4dd067d61 Introduce ControlUtil which provides control facilities such as using() or defining(). 2013-09-19 18:53:14 +09:00
takezoe
aa8da1b046 Fix TODO. 2013-09-18 15:28:59 +09:00
takezoe
f2787a547f Add "View the diff" link to the edit wiki page activity. 2013-08-09 18:38:34 +09:00
takezoe
629b714dab Upgrade scalatra-forms. 2013-08-09 18:06:33 +09:00
takezoe
1af52d16c0 Add lock for repository operation. 2013-07-26 18:14:31 +09:00
takezoe
fc29b34573 (refs #2)Fix comparing diffs before sending pull request. 2013-07-15 21:40:54 +09:00
takezoe
28cafbcad2 (refs #35)Fixed. 2013-07-12 02:14:27 +09:00
takezoe
386f0dc142 (refs #36)Handle unresolved revision string. 2013-07-11 21:24:09 +09:00
takezoe
72e2c6dca7 Replace String#format() with string interpolation. 2013-07-11 20:19:11 +09:00
takezoe
54e0242030 (refs #4)Record wiki activity. 2013-07-07 01:24:08 +09:00
takezoe
c3e668d200 Fix problem when GitBucket is working on non root context. 2013-07-04 12:50:10 +09:00
takezoe
ac5d380602 Fix authentication for repository. 2013-07-03 16:34:35 +09:00
takezoe
0bda8cdab7 Rename general variable name isWritable to hasWritePermission. 2013-07-03 01:51:41 +09:00
takezoe
14187795fb Fix some Ajax URLs and Authenticators. 2013-07-03 01:45:38 +09:00
takezoe
1b13ca1c8d Fix template file names. 2013-07-01 13:07:02 +09:00
takezoe
d75b4112d1 Small fix. 2013-06-26 02:13:28 +09:00
takezoe
1ff87ff6b3 Use Option.map instead of pattern matching. 2013-06-25 14:44:02 +09:00
takezoe
dd227bea18 Update REPOSITORY.LAST_ACTIVITY_DATE after wiki page editing. 2013-06-24 01:27:55 +09:00
takezoe
6702fdf24f Move isWritable to RepositoryService. 2013-06-23 02:48:02 +09:00
takezoe
4d4e0c8487 Fix validation for user name, page name and repository name. 2013-06-21 18:56:00 +09:00
takezoe
b20f85e21c Fix validation. 2013-06-21 18:38:26 +09:00
takezoe
65eb89475a Update flag columns to BOOLEAN. 2013-06-21 13:24:58 +09:00
takezoe
0461b586ea Returns NotFound() if the repository does not exist. 2013-06-16 13:38:36 +09:00
takezoe
ffd0c4f195 Fix page name validation. 2013-06-16 13:29:44 +09:00
takezoe
676e6c6047 Fix the repository url. 2013-06-16 03:20:34 +09:00
takezoe
8c12e15bc5 Add action which returns the file content in the wiki repository. 2013-06-16 02:09:21 +09:00
takezoe
e7ab61685b Generalize markdown preview. 2013-06-05 15:09:12 +09:00
takezoe
4d5ce740c4 Add authentication. 2013-06-05 02:46:16 +09:00
takezoe
b42d8205a8 Merge branch 'master' of https://github.com/takezoe/gitbucket
Conflicts:
	src/main/scala/app/SettingsController.scala
2013-06-05 01:49:46 +09:00
takezoe
043e1b89e6 Control wiki buttons by permission. 2013-06-04 19:13:31 +09:00
takezoe
b990257947 TODO 2013-06-04 18:32:00 +09:00
takezoe
d80823343a Separate Authenticators to the trait from ControllerBase. 2013-06-04 08:51:31 +09:00
takezoe
78ad794613 Rename ProjectService to RepositoryService. 2013-06-04 01:14:27 +09:00
takezoe
dc6a9f8211 Add basic access control to the wiki system. 2013-06-03 02:42:26 +09:00