Robert Speicher
8cfb197dfc
Remove redundant access check for Issues#destroy
...
We were already calling `authorize_admin_issue!` in a before filter with
the same permission checks, so this deleted check wasn't actually doing
anything.
2012-09-16 10:06:29 -04:00
Robert Speicher
a0893b4d58
Remove non-existent "close" action from authorize_modify_issue filter
2012-09-16 10:06:29 -04:00
Robert Speicher
925183ed7a
Add an AdminController base class for Admin controllers
...
Handles stuff that's shared across admin controllers.
2012-09-16 10:06:29 -04:00
Robert Speicher
83f24de352
Add routing specs
2012-09-16 10:06:21 -04:00
Robert Speicher
89069dc5f7
Remove unused ProfileController#password action
2012-09-16 07:38:14 -04:00
Robert Speicher
d7eb797024
1.9 Hash syntax in routes.rb
...
Also cleans up some alignment and removes unnecessary "to: " arguments
2012-09-16 07:38:14 -04:00
Robert Speicher
94f91146f1
Limit admin/logs and admin/resque routes to the actions that are used
2012-09-16 07:38:14 -04:00
Robert Speicher
4f4c401f77
Don't instantiate Resque::Server in routes
...
It still works, and it cleans up the output of `rake routes`.
2012-09-16 07:38:14 -04:00
randx
caef9ed112
Update installation doc with branch names
2012-09-16 13:39:49 +03:00
Dmitriy Zaporozhets
dcb17ead95
Merge pull request #1471 from PragTob/renameUnicorn.rb
...
Rename: unicorn.rb.orig --> unicorn.rb.example
2012-09-16 00:35:09 -07:00
Nihad Abbasov
98c731333d
Merge pull request #1473 from PragTob/updateDevDoc
...
Updated development docs
2012-09-15 13:11:24 -07:00
Tobias Pfeiffer
9c117f2636
The project doesn't use cucumber(anymore?), it uses spinach
2012-09-15 21:53:45 +02:00
Tobias Pfeiffer
296e322bfc
the rake was missing in fron of the gitlab:test task
2012-09-15 21:52:01 +02:00
Tobias Pfeiffer
fa529c789c
added the name change to the installation.md - thanks and nice catch to @NARKOZ
2012-09-15 21:23:41 +02:00
Tobias Pfeiffer
74cfab692f
Renamed unicorn.rb.orig to unicorn.rb.example since this seems to be more in line with the common used naming in the config directory. Plus seeing *.orig files I think of the leftovers of git merges, which left me puzzled for quite some time.
2012-09-15 20:26:08 +02:00
Riyad Preukschas
6aebb76b5d
Update votes when creating or refreshing notes
2012-09-15 11:55:17 +02:00
Riyad Preukschas
b8113334a8
Highlight voting notes for issues and merge requests
2012-09-15 11:54:46 +02:00
randx
0546b9c65f
Merge branch 'riyad-change-notes-order'
2012-09-15 09:58:34 +03:00
randx
348def0344
Init mr comments when naviagate via ajax to diff
2012-09-15 09:58:16 +03:00
randx
9159be3a50
Fix MR diff comments. Fix wiki comments loading error
2012-09-15 09:49:21 +03:00
randx
caeb65b189
Merge branch 'change-notes-order' of https://github.com/riyad/gitlabhq into riyad-change-notes-order
2012-09-15 01:02:58 +03:00
randx
a82977c648
A bit of test refactoring
2012-09-15 01:00:59 +03:00
Riyad Preukschas
07eec9c66a
Update Notes JS for reversed notes
2012-09-14 21:41:57 +02:00
Riyad Preukschas
7563abbe49
Add 'notes/reversed_notes_with_form' partial
2012-09-14 21:41:57 +02:00
Riyad Preukschas
e63d7b6029
Rename note.js to notes.js
2012-09-14 21:41:57 +02:00
Riyad Preukschas
e1ca155c95
Extract 'notes/per_line_notes_with_reply' partial
2012-09-14 21:41:57 +02:00
Riyad Preukschas
a3dbd99068
Extract 'notes/per_line_note_link' partial
2012-09-14 21:41:57 +02:00
Riyad Preukschas
c6d71b7b8e
Rename 'notes/per_line_show' partial to 'notes/per_line_note'
2012-09-14 21:41:57 +02:00
Riyad Preukschas
dd1b3177c9
Renamed 'notes/notes_list' partial to 'notes/notes'
2012-09-14 21:41:57 +02:00
Riyad Preukschas
4fc66ead4f
Rename 'notes/show' partial to 'notes/note'
2012-09-14 21:41:57 +02:00
Riyad Preukschas
29c71f2fb9
Rename 'notes/reply_button' partial to 'notes/per_line_reply_button'
2012-09-14 21:41:57 +02:00
Riyad Preukschas
c02e3f2104
Rename 'notes/form' partial to 'notes/common_form'
2012-09-14 21:41:57 +02:00
Riyad Preukschas
3c02c93f08
Remove 'notes/load' partial
2012-09-14 21:41:56 +02:00
Riyad Preukschas
8fb70d924d
Rename 'notes/create_*' partials
2012-09-14 21:41:56 +02:00
Riyad Preukschas
61eb650db0
Rename 'notes/notes' partial to 'notes/notes_with_form'
2012-09-14 21:41:56 +02:00
Riyad Preukschas
cee230a158
Update JS for adding and removing diff line notes
2012-09-14 21:41:56 +02:00
Riyad Preukschas
653f7ec4fb
Update links for inline comments to use data-* attributes
2012-09-14 21:41:56 +02:00
Riyad Preukschas
20e009a40a
Update diff comments order and rendering
2012-09-14 21:41:56 +02:00
Riyad Preukschas
e802d00996
Completely redo loading of notes with JS
2012-09-14 21:41:56 +02:00
Riyad Preukschas
1416401753
Fix markup
2012-09-14 21:41:56 +02:00
Riyad Preukschas
6ffec9a298
Update Note to load notes in the right order
2012-09-14 21:41:56 +02:00
Riyad Preukschas
8b6dba749a
Reorder notes view elements
2012-09-14 21:41:56 +02:00
randx
0d66cf2a38
Fixed token feature
2012-09-14 18:58:16 +03:00
randx
759fb518eb
fix event issue when event for left project + project removed
2012-09-14 18:46:40 +03:00
Dmitriy Zaporozhets
dc37c8aaae
Refactored profile area
2012-09-14 19:13:25 +03:00
Dmitriy Zaporozhets
8f9a450eed
Merge pull request #1462 from pipozzz/master
...
Repaired Get patch
2012-09-14 07:05:21 -07:00
Peter Gonda
795cc9b716
Repaired Get patch
2012-09-14 15:57:25 +02:00
Dmitriy Zaporozhets
3ecc4df4b3
Merge pull request #1456 from tsigo/issue_1308
...
Fix HTML entities being parsed in GFM
2012-09-13 23:17:03 -07:00
Robert Speicher
d993f66642
Fix HTML entities being parsed in GFM
...
Also fixes the spec so that it actually tests the thing it says it's
testing. Hooray!
Closes #1308
2012-09-13 15:20:00 -04:00
Dmitriy Zaporozhets
85def2d625
Merge pull request #1451 from tsigo/omniauth_settings
...
Be more resilient in the case of missing omniauth settings
2012-09-12 22:22:59 -07:00