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
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
Dmitriy Zaporozhets
6d0ddf45ba
Raw implementation of commits stats page
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-26 20:32:44 +03:00
Dmitriy Zaporozhets
20e0c9b132
Rewrite graphs feature
...
* remove commits stats page (will be replaced by graphs)
* remove additions/deletions from graph because of bad performance
* keep graph logic in gitlab
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-26 18:04:41 +03:00
MarkPochert
1be7c25dce
Update application.js.coffee
...
The require jquery.turbolinks should be before the require turbolinks.
https://github.com/rails/turbolinks => "Add the gem to your project, then add the following line to your JavaScript manifest file, after jquery.js but before turbolinks.js"
2014-09-26 10:17:26 +02:00
Dmitriy Zaporozhets
20d6f96928
Improve flash messages
...
* dont fadeout so user can read
* show inside content block so user can notice it
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-25 18:00:21 +03:00
Dmitriy Zaporozhets
3c9ea7f4a9
Merge pull request #7521 from hiroponz/fix-not-rendered-graph-edge
...
Fix not rendered the network graph edges
2014-09-23 21:33:50 +03:00
Dmitriy Zaporozhets
8cd882355e
Merge branch '7-4-pre' into 'master'
...
7.4 development
Development branch during `master` code freeze for 7.3
See merge request !1096
2014-09-22 17:25:49 +00:00
Marin Jankovski
f0231e409a
Revert "Diff headers made sticky."
...
This reverts commit 6eb85b1a30 .
2014-09-22 13:48:28 +02:00
Robert Schilling
28ba985ef9
Save last scrollposition and scroll back when leaving ZEN mode
2014-09-21 21:06:38 +02:00
Robert Schilling
d5badd7ef6
Prevent default action when closing zen mode
2014-09-20 18:15:36 +02:00
Ciro Santilli
04ef3ddc6c
Improve zen mode internals.
2014-09-19 17:32:23 +02:00