Dmitriy Zaporozhets
5140a4cd13
Set of UI changes mostly for issue and merge request
...
* return edit/close buttons to old position (right of title)
* make 'Issue #1 ' header smaller
* move mr commits to separate tab
* change inline/side diff switcher to buttons from tabs
* make issue sidebar start with dicsussion block
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-25 14:32:49 +02:00
Dmitriy Zaporozhets
8045d96ea8
Fix diff comments
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-24 13:39:35 +02:00
Dmitriy Zaporozhets
5b49bb208a
Fix issueable context update and fix tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-22 16:42:26 +02:00
Dmitriy Zaporozhets
e45e6ba2c3
Merge branch 'master' into sidebar-nav
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/views/layouts/group.html.haml
2014-12-21 01:20:51 +02:00
Dmitriy Zaporozhets
06a219baa5
Restyle group page and event filter
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-16 18:15:48 +02:00
Dmitriy Zaporozhets
5f63c00598
Fix graph and settings highlight
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-15 17:46:36 +02:00
skv-headless
c4a56797a4
transfer error handler
2014-12-15 16:10:56 +03:00
Vinnie Okada
742e6eeed2
Merge branch 'upstream-master' into markdown-preview
...
Conflicts:
spec/routing/project_routing_spec.rb
2014-12-07 20:25:58 -07:00
Dmitriy Zaporozhets
2388fdd7c6
Improve fork to namespaces feature
...
* Show namespace thumbnail differently if project was already forked
* Show loading spinner when click on fork
* Fork link navigates to personal namespace only if no manageable groups exists
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-11-14 16:06:39 +02:00
skv
9353db59a0
remove unused js
2014-11-06 22:34:41 +03:00
Dmitriy Zaporozhets
e1299bab7b
Merge branch 'feature_password_strength_indicator' into 'master'
...
Add a password strength indicator to SIGN UP and PROFILE pages
Fixes #1647
Added a password strength indicator to the sign up page. You can see how it looks in the following screenshot. In the sign up page, it checks if the password contains the username and alerts the user about it. If the user still wants to proceed with creating his account, nothing will stop him. This is merely a message. The indicator changes the input background color based on the strength like this:

The password strength indicator can also be found in the profile edit page. It functions in almost the exact same way, with the exception that it doesn't check if the password contains the username.

There are tests included.
/cc @job
See merge request !1227
2014-10-30 11:32:11 +00:00
Patricio Cano
d9023da90d
Refactored password_strength configuration
2014-10-28 12:48:20 -05:00
Dmitriy Zaporozhets
2a16bbd626
Merge pull request #7572 from mr-vinn/application-js-fix
...
Handle undefined text area values
2014-10-28 15:23:45 +02:00
Dmitriy Zaporozhets
26175e4459
Merge pull request #8127 from cirosantilli/user-select-js-only-needed
...
Run user select Js only where needed
2014-10-28 12:08:57 +02:00
Dmitriy Zaporozhets
01441f544e
Merge pull request #8120 from cirosantilli/profile-js-only-needed
...
Only run profile js on pages that need it
2014-10-27 20:01:47 +02:00
Ciro Santilli
2d187976be
Run user select Js only where needed
...
Transform current implementation into regular Coffescript classes
so that the same call method can be reused on the dispatcher
as for other classes.
2014-10-27 18:28:36 +01:00
Dmitriy Zaporozhets
32a7d49a36
Merge pull request #8125 from cirosantilli/namespace-select-js-only-needed
...
Only run namespace select js when needed
2014-10-27 19:19:35 +02:00
Dmitriy Zaporozhets
243a74e995
Merge pull request #8123 from cirosantilli/project-js-only-needed
...
Better js -> URL projects map to reduce unneeded execution
2014-10-27 19:18:27 +02:00
Patricio Cano
000af8d5d7
Moved require from application.js to password_strength.js
...
Corrected div id for profile password/edit
Added first spinach tests
2014-10-24 17:19:35 -05:00
Patricio Cano
7fbc4f5b3a
Corrected the layout of the strength indicator to be more consistent throughout the application.
...
Fixed a test that was looking for an outdated HTML ID
2014-10-23 17:49:48 -05:00
Patricio Cano
7039c9868a
Updated the IDs of the fields, so that it wouldn't mess with many tests
...
Updated some tests to match new IDs
2014-10-22 20:39:02 -05:00
Patricio Cano
10528341c2
Merge branch 'master' into feature_password_strength_indicator
2014-10-22 12:44:23 -05:00
Patricio Cano
91c96b3714
Added a password strength indicator
...
to the reset password view and the change password view after first login.
Updated JS to work with the updated views.
2014-10-22 12:40:41 -05:00
Ciro Santilli
ab1ad3bd18
Only run namespace select js when needed
...
Only needed in admin/projects.
2014-10-21 22:54:22 +02:00
Ciro Santilli
3418f56a69
Better js -> URL map to reduce unneeded execution
2014-10-21 22:44:02 +02:00
Ciro Santilli
93e8a0563d
Only run profile js on pages that need it
2014-10-21 21:55:44 +02:00
Ciro Santilli
38670a663c
Only run avatar chooser Js on pages that need it
2014-10-21 10:46:55 +02:00
Ciro Santilli
c0c8dccf2e
Export all coffee classes with @
2014-10-20 23:03:33 +02:00
Vinnie Okada
cd3eabd712
Use GET instead of POST for Markdown previews
2014-10-16 22:45:13 -05:00
Vinnie Okada
5700842ba8
Add Markdown preview to more forms
...
Enable Markdown previews when creating and editing issues, merge
requests, and milestones, and when editing notes.
2014-10-15 23:52:33 -05:00
Patricio Cano
3d705131f7
Added a password strength indicator
...
to the profile page and the sign_up page, added CSS to best display it and created the custom script to load the meter.
2014-10-13 22:05:21 -05:00
Dmitriy Zaporozhets
74217f753f
Apply ConfirmDangerModal for project transfer/remove actions
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-08 13:57:54 +03:00
Dmitriy Zaporozhets
9021debf50
ConfirmDangerModal window added. It will be used for confirmation of dangerous actions
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-08 13:56:57 +03:00
Dmitriy Zaporozhets
cf1aa36a21
Merge pull request #7979 from mr-vinn/refactor-tasks
...
Refactor task list tests and coffeescript
2014-10-08 11:37:21 +03:00
Vinnie Okada
9dcb643fd4
Rename coffeescript file
2014-10-07 11:17:04 -05:00
Dmitriy Zaporozhets
593a1b3b3e
Style merge request CI widget to match MR/Issue box
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-07 15:11:18 +03:00
Vinnie Okada
40263a06c1
Refactor task list tests and coffeescript
2014-10-06 19:19:12 -05:00
Vinnie Okada
9f0083a96c
Add task lists to issues and merge requests
...
Make the Markdown parser recognize "[x]" or "[ ]" at the beginning of a
list item and turn it into a checkbox input. Users who can modify the
issue or MR can toggle the checkboxes directly or edit the Markdown to
manage the tasks. Task status is also displayed in the MR and issue
lists.
2014-10-05 22:15:27 -05:00
Dmitriy Zaporozhets
43217dd5dd
Merge branch 'cirosantilli-factor-commit-msg-textarea'
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/views/projects/edit_tree/show.html.haml
2014-10-03 14:38:33 +03:00
Dmitriy Zaporozhets
4ebe718d69
Merge branch 'factor-commit-msg-textarea' of https://github.com/cirosantilli/gitlabhq into cirosantilli-factor-commit-msg-textarea
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/views/projects/blob/_remove.html.haml
2014-10-03 13:34:25 +03:00
Sullivan SENECHAL
5d8be4438a
Upgrade to Font Awesome v4.2
2014-10-03 12:19:24 +02:00
Dmitriy Zaporozhets
8e33f9460c
Show test coverage results in MR if available
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-02 18:17:47 +03:00
Ciro Santilli
3098e7a453
Factor commit message textareas.
2014-10-02 12:03:30 +02:00
Robert Schilling
093c2c6a01
Apply ZEN mode to all GFM forms
2014-10-02 09:59:01 +02:00
Marin Jankovski
2c2c192641
Merge branch 'fix_selecting_them_upload' of gitlab.com:gitlab-org/gitlab-ce
2014-10-02 08:41:48 +02:00
Robert Schilling
dae670bd69
Search for 'div-dropzone' correctly
2014-10-01 17:30:40 +02:00
Robert Schilling
63377c9ba5
Disable dropzone in ZEN mode
2014-10-01 16:40:30 +02:00
Marin Jankovski
6fd00826d2
Fix attachment upload link bug caused by introduction of zen mode.
2014-09-30 17:07:21 +02:00
Marin Jankovski
49157242ed
Save if user prefers readme or activity tab.
2014-09-30 14:27:28 +02:00
Jacob Vosmaer
693cee89f9
Prevent notes polling when there are not notes
2014-09-29 17:32:56 +02:00