Dmitriy Zaporozhets
342d553709
Rename abilities to correspond contoller/model action names
...
write_ was renamed to create_
modify_ was renamed to update_
So now in update action we have next code
def create
can?(current_user, :create_issue, @issue)
end
def update
can?(current_user, :update_issue, @issue)
end
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-26 15:55:56 +02:00
Douwe Maan
ae09c2a6db
Capitalize "X" in "New X".
2015-04-30 21:33:02 +02:00
Douwe Maan
26ad250989
Add a page title to every page.
2015-04-30 19:12:15 +02:00
Vinnie Okada
bd557e4b64
Add new admin settings
...
Add new global application settings for default project and snippet
visibility levels.
2015-04-26 07:48:19 -06:00
Dmitriy Zaporozhets
30ca451fd4
Refactor buttons
2015-03-14 00:29:32 -07:00
Dmitriy Zaporozhets
2da2720584
Improve css for file actions
2015-03-13 19:20:25 -07:00
Vinnie Okada
76aad9b76e
Upgrade to Rails 4.1.9
...
Make the following changes to deal with new behavior in Rails 4.1.2:
* Use nested resources to avoid slashes in arguments to path helpers.
2015-02-14 11:09:23 -07:00
Sullivan SENECHAL
5d8be4438a
Upgrade to Font Awesome v4.2
2014-10-03 12:19:24 +02:00
Dmitriy Zaporozhets
9be5425a88
Refactor snippets views
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-14 12:36:46 +03:00
Dmitriy Zaporozhets
eb7845682d
Improve files/snippets action buttons
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-13 20:21:48 +03:00
Dmitriy Zaporozhets
32ecb02784
Refactor scss
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-20 13:51:22 +02:00
Takao Baba
c52bc838cd
Enable markdown formatting for snippets in projects.
2014-02-04 01:06:21 +09:00
Dmitriy Zaporozhets
b6454591cc
Merge branch 'highlight-js' into 'master'
...
Highlight.Js
Replace pygments code highlight with client-side library - highlight.js
http://highlightjs.org/
2014-01-28 07:58:59 +00:00
Dmitriy Zaporozhets
78b2fb5de9
Add highlight.js support to markdown, snippets etc
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-27 13:12:58 +02:00
Robert Schilling
05c38ab8e0
Remove snippet expiration date from UI
2014-01-25 09:04:33 +01:00
Dmitriy Zaporozhets
8fc9b5c0e2
Small UI improvement to snippet form
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-12 18:32:46 +02:00
Jeroen van Baarsen
2eb1220f67
Removed expiration from snippets
...
* Removed the expiration from the project snippets
* Fixed the layout for the project snippets
2014-01-11 18:24:20 +01:00
Dmitriy Zaporozhets
8a17961126
Replace chosen with select2
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-11 12:11:54 +02:00
Dmitriy Zaporozhets
5fa805a7ba
Restyle issue form. Replace inputs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-01-01 22:11:18 +02:00
Dmitriy Zaporozhets
d7a48443ce
alert-error to alert-danger
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-31 16:34:14 +02:00
Dmitriy Zaporozhets
010a770b3f
Migrate forms and inputs pt1
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-31 02:50:36 +02:00
Dmitriy Zaporozhets
16eb3ac360
Update form classes
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-31 01:27:02 +02:00
Dmitriy Zaporozhets
9a31844e2a
Remove unnecessary ago keyword
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-30 14:49:22 +02:00
Drew Blessing
fa817dffea
Add time ago tooltips to show actual date/time
...
Clean up admin dashboad tooltips
Clean up admin dashboad tooltips
Clean up admin dashboad tooltips
Add helper method
change to use app helper
Modify tooltips to use new helper
Convert remaining times
Adjust one tooltip
2013-12-14 15:24:12 -06:00
Jeroen van Baarsen
bfacf13668
Fixed all the confirm: deprecation warnings
2013-12-10 20:33:21 +01:00
Steven Thonus
65cad57a35
avatar upload on profile page
2013-10-09 09:05:09 +02:00
Dmitriy Zaporozhets
c611ea513c
Fixed styling for delete button of snippet
2013-09-25 17:20:07 +03:00
Dmitriy Zaporozhets
083990c795
Minor UI improvements
2013-08-12 12:08:52 +03:00
Dmitriy Zaporozhets
df437f419b
use control-group classes for inline forms in project area pages
2013-08-07 23:30:40 +03:00
Dmitriy Zaporozhets
b1fbd65832
Improve UI for project snippets
2013-07-18 13:21:56 +03:00
Dmitriy Zaporozhets
3805797cae
scss: rename file_content to file-content etc
2013-07-13 09:52:47 +03:00
Dmitriy Zaporozhets
bea14d6c28
remove unnecessary %br/%hr and styles
2013-07-13 09:05:28 +03:00
Dmitriy Zaporozhets
36fd4de825
Replace page_title with page-title. Correct margin for some blocks/layouts
2013-07-13 08:45:48 +03:00
Dmitriy Zaporozhets
2ed7cbfba4
Move projects controllers/views in Projects module
2013-06-23 19:47:22 +03:00
Dmitriy Zaporozhets
e7bcbb95c8
Restyle snippets
2013-06-05 22:25:27 +03:00
Andrew8xx8
e3351287b4
Permissions for Project Snippet fixed
2013-03-25 14:22:14 +04:00
Andrew8xx8
5b35000f16
Snippets feature refactored. Tests now use spinach
2013-03-24 22:31:14 +04:00
Andrew8xx8
b49cfbc1d5
Project snippets moved to /projects
2013-03-23 23:17:25 +04:00