Dmitriy Zaporozhets
ee43e9248c
Add warning if user own projet but not in team. Also show loading when merge MR
2013-01-21 15:05:18 +02:00
Dmitriy Zaporozhets
f598cc7897
change logic on line_code
2013-01-15 11:12:17 +02:00
Riyad Preukschas
bda7fe38d0
Merge branch 'master' into discussions
2013-01-15 00:53:00 +01:00
Riyad Preukschas
3022786948
Merge commit 'master' into discussions
...
Conflicts:
app/assets/stylesheets/sections/notes.scss
app/contexts/notes/load_context.rb
app/models/project.rb
app/observers/note_observer.rb
app/roles/votes.rb
app/views/commit/show.html.haml
app/views/merge_requests/_show.html.haml
app/views/merge_requests/diffs.js.haml
app/views/merge_requests/show.js.haml
app/views/notes/_note.html.haml
features/steps/project/project_merge_requests.rb
spec/models/note_spec.rb
2013-01-15 00:52:25 +01:00
Dmitriy Zaporozhets
dd20da1bff
Fix pager loading on every page in application
2013-01-10 17:38:37 +02:00
Alex Denisov
d7bc121474
replace javascript:void with preventDefault
2013-01-09 21:02:41 +00:00
Alex Denisov
5133fe8efb
dashboard js -> coffee
2013-01-09 19:30:20 +00:00
Alex Denisov
3cc0458312
Reloading of events via ajax instead of page reloading.
2013-01-09 19:30:20 +00:00
AlexDenisov
0d9f73fa1e
JavaScript removed from dashboard#index template.
2013-01-09 19:30:20 +00:00
Alex Denisov
97d17cf835
Event filters stores at cookies.
2013-01-09 19:30:20 +00:00
Dmitriy Zaporozhets
8d8c161a7f
Speedup dashboard via loading events with ajax
2013-01-07 14:36:01 +02:00
Dmitriy Zaporozhets
6c777ff823
Improve milestone show page
2013-01-07 14:08:03 +02:00
Dmitriy Zaporozhets
891bc414b1
Fix merge_request js -> ci_path
2013-01-05 23:26:14 +02:00
Dmitriy Zaporozhets
eaa8cd28d0
Merge branch 'mergerequest-to-coffee' of https://github.com/koenpunt/gitlabhq into koenpunt-mergerequest-to-coffee
2013-01-05 22:54:48 +02:00
Dmitriy Zaporozhets
1724f45f46
Remove unused styles. Restyled Issues a bit
2013-01-05 14:49:08 +02:00
Koen Punt
a1566a9c86
Converted merge_requests.js to coffeescript and updated code
2013-01-05 02:53:34 +01:00
Riyad Preukschas
7335f366dc
Fix comment and reply buttons
2013-01-02 20:49:27 +01:00
Riyad Preukschas
db2c15369c
Merge branch 'master' into discussions
...
Conflicts:
app/assets/stylesheets/main.scss
app/models/project.rb
app/views/notes/_common_form.html.haml
app/views/notes/_per_line_form.html.haml
lib/gitlab/markdown.rb
spec/models/note_spec.rb
2012-12-23 01:03:57 +01:00
Dmitriy Zaporozhets
a47032bc29
Merge branch 'gh-issue-1509' of https://github.com/koenpunt/gitlabhq into koenpunt-gh-issue-1509
...
Conflicts:
vendor/assets/javascripts/branch-graph.js
2012-12-21 13:07:34 +02:00
Dmitriy Zaporozhets
a567d596f8
Merge pull request #2305 from gitlabhq/fix_gfm_auto_complete
...
Fix and refactoring gfm_autocomplete
2012-12-21 02:47:55 -08:00
Valeriy Sizov
77d632890b
refactoring gfm_autocomplete
2012-12-20 20:52:12 +02:00
Dmitriy Zaporozhets
2f7effe804
Refactor issues, Remove ajax
2012-12-19 06:14:05 +03:00
Dmitriy Zaporozhets
85d5f606f6
Labels autocomplete
2012-12-18 06:14:05 +03:00
Riyad Preukschas
d2be7577c1
Merge pull request #2243 from jouve/fix_gfm_username_autocomplete
...
fix gfm autocomplete for usernames
2012-12-14 13:56:06 -08:00
Dmitriy Zaporozhets
1d156c9c8e
Fix project lookup. Show error if project transfer fails
2012-12-13 19:20:37 +02:00
Cyril
a5861b8ff3
fix gfm autocomplete for usernames
2012-12-13 01:44:25 +01:00
Dmitriy Zaporozhets
ca936d2784
Improve CI integration for merge requests
2012-12-11 06:14:05 +03:00
Koen Punt
e1282d507f
BranchGraph now loads async
...
Centralized keyboard and drag events for BranchGraph
2012-12-07 19:06:46 +01:00
Riyad Preukschas
b47173da6a
Revamped note form options.
2012-12-03 22:51:57 +01:00
Riyad Preukschas
4ed8278870
Fix a bunch of smaller glitches.
2012-12-03 22:51:57 +01:00
Riyad Preukschas
7978f8dd2b
Fix handling form errors.
2012-12-03 22:51:57 +01:00
Riyad Preukschas
6fc10fa256
Unify forms for discussions and main target.
...
Allows previews and uploads in all forms.
Also fixes #1730
2012-12-03 22:51:56 +01:00
Riyad Preukschas
c4a7824a8c
Fix wall notes
2012-12-03 22:51:56 +01:00
Riyad Preukschas
140652e9b0
Fix common form and note preview
2012-12-03 22:51:56 +01:00
Riyad Preukschas
5d3fb35cd1
Rename JS behaviors
2012-12-03 22:51:56 +01:00
Riyad Preukschas
918dc87376
Move code for appending a discussion note to notes JS
2012-12-03 22:51:56 +01:00
Riyad Preukschas
fac4e3f2e5
Reformat notes JS
2012-12-03 22:51:56 +01:00
Riyad Preukschas
494ae87840
Refactor discussion reply
2012-12-03 22:51:56 +01:00
Riyad Preukschas
06ea122840
Refactor diff notes creation
2012-12-03 22:51:56 +01:00
Riyad Preukschas
bd60a4ed40
Make notes JS know which notes are new in a request
2012-12-03 22:51:56 +01:00
Riyad Preukschas
5c2f6d7f05
Update notes views to support discussions
2012-12-03 22:51:55 +01:00
Riyad Preukschas
a048c955fd
Add JS behaviors
2012-12-03 22:51:55 +01:00
Dmitriy Zaporozhets
46bf3a0949
Refactored profile to resource. Added missing flash notice on successfull updated. Update username via ajax
2012-12-02 13:29:24 +02:00
Cyril
a9a5497915
refactor flash
...
* make unobtrusive js
* convert js to coffee
2012-12-01 18:40:47 +01:00
Dmitriy Zaporozhets
c19e766f1e
Added vendor/bundle to gitignore. Removed project js slugify
2012-11-30 19:49:51 +02:00
Dmitriy Zaporozhets
3c13ef648b
Fix MR comments
2012-11-30 16:03:10 +02:00
Dmitriy Zaporozhets
ff9a2e2a93
Improve admin logs
2012-11-29 07:49:11 +03:00
panxiaoming
e2b73513f4
fixed the bug of URIDECODE error
...
if link to a chinese file name, it will jump to error page;
for example, the chinese file name called "消息文档.md", when after urlencode, it will be "%E6%B6%88%E6%81%AF%E6%96%87%E6%A1%A3.md", but after use History.pushState, will jump to a bad decode link.
2012-11-28 10:09:55 +08:00
Dmitriy Zaporozhets
7392d28dca
Merge pull request #2030 from tsigo/theme_feedback
...
Improve user feedback on the Profile > Design page
2012-11-21 12:54:22 -08:00
Robert Speicher
30a66c065a
Improve user feedback on the Profile > Design page
...
- Header changes immediately without a page reload
- Lets the user know that we actually saved their setting when changed
2012-11-21 15:01:40 -05:00
Riyad Preukschas
3e800c3bb1
Refactor GFM JS naming and access
2012-11-21 20:25:49 +01:00
Riyad Preukschas
1cda62465f
Fix GFM JS code style
2012-11-21 20:05:37 +01:00
Dmitriy Zaporozhets
0046409970
I prefer icons on header
2012-11-21 08:14:05 +03:00
Riyad Preukschas
51f48392ab
Fix type error if there is a different location hash
2012-11-17 22:26:22 +01:00
Dmitriy Zaporozhets
b339c747a9
Merge pull request #1937 from riyad/add-file-line-links
...
Add file line links
2012-11-16 03:46:43 -08:00
Riyad Preukschas
ece563296b
Fix Notes JS
...
Also fixes #1983
2012-11-14 14:36:51 +01:00
Riyad Preukschas
578cf89812
Fix specs
2012-11-14 01:20:37 +01:00
randx
1c5b2a5153
Stats page
2012-11-10 23:08:47 +02:00
Riyad Preukschas
c42ada9bee
Allow linking to file lines
...
Supported formats: "L12" for single lines and "L12-34" for multiple lines
2012-11-10 00:03:46 +01:00
Riyad Preukschas
45dcb1b5c4
Add jQuery.ScrollTo
2012-11-09 23:35:02 +01:00
Dmitriy Zaporozhets
f555578414
Added EventFilter class. Compeleted first version of dashbaord filtering
2012-11-05 20:12:26 +02:00
Robert Speicher
badb092a2d
Don't initialize Tree History unless tree-slider is present
...
This was breaking breadcrumb links on non-Tree pages
2012-11-01 17:57:12 -04:00
randx
f417a265d7
Finalize milestones for Merge Requests
2012-10-29 23:45:11 +02:00
randx
ecdf778e80
Merge branch 'public_submission_milestones_for_mr' of https://github.com/piffio/gitlabhq into piffio-public_submission_milestones_for_mr
...
Conflicts:
app/views/merge_requests/_form.html.haml
2012-10-29 21:37:46 +02:00
Riyad Preukschas
17cec05087
Make new/edit issue forms use containers on the page instead of adding their own
...
Fixes #1830
2012-10-27 17:54:24 +02:00
Riyad Preukschas
2f5e44a02d
Enable/disable from buttons on all input events (not just key events)
...
Fixes #1836
2012-10-27 17:00:51 +02:00
Sergio Visinoni
a7d0816933
Add Milestone information in Merge Requests
...
Step 1:
* Add milestone_id in the model for merge_requests
* Make it possible to create or update a Merge Request with an attached
Milestone detail
* Add the possibility to filter by Milestone and / or Assignee in the
Merge Requests listing page
2012-10-26 16:12:40 +02:00
Nihad Abbasov
414080cb03
remove unnecessary snippets.js
2012-10-19 03:41:10 -07:00
Nihad Abbasov
c28722689d
merge graph.js into projects.js
2012-10-19 03:41:10 -07:00
Nihad Abbasov
41ec540033
remove unnecessary loader.js
2012-10-19 03:41:10 -07:00
Nihad Abbasov
57c134c39a
cleanup coffeescript code for mentions auto-complete
2012-10-19 03:41:10 -07:00
Nihad Abbasov
ec1bccb261
use 'js-' prefix for behavioral 'gfm-input' class
2012-10-19 03:41:10 -07:00
Nihad Abbasov
46921e690e
cleanup main.coffee
2012-10-19 03:41:10 -07:00
Valeriy Sizov
8ee8f36f6e
WebEditor: fix unknown theme in production mode
2012-10-16 23:52:44 +03:00
Valeriy Sizov
57e2b5ed1a
WebEditor: integrated editor
2012-10-12 20:07:24 +03:00
Robert Speicher
7d145adf35
Move 'closed' attribute to the row instead of the cell
2012-10-10 13:06:34 -04:00
Robert Speicher
ace816354f
Add toggle to show closed issues on Milestones#show
...
Progress on #1167
2012-10-10 12:43:59 -04:00
Riyad Preukschas
fb0279f311
Fix vote counting to only count main target notes (not mixed in ones)
2012-10-10 12:09:45 +02:00
Dmitriy Zaporozhets
60b4c88e3a
Merge pull request #1664 from riyad/auto-complete-everywhere
...
Cleanup auto-completion and add it to all GFM inputs
2012-10-10 01:45:03 -07:00
Riyad Preukschas
4d843d2ce1
Fix auto-completion for forms that are inserted with JS
2012-10-10 00:53:57 +02:00
Riyad Preukschas
e4aa5a5c8f
Extract and split GFM auto-completion setup JS
...
* static initialization and setup moved to assets
* per request initialization moved to layout partial
2012-10-10 00:53:55 +02:00
Robert Speicher
cda5e66d7c
Use History.js for better Tree browsing
...
Closes #1578
2012-10-09 18:38:59 -04:00
Robert Speicher
388d72e6bf
Add render_tree helper; simplify (speed up) tree_icon
2012-10-03 19:39:27 -04:00
Robert Speicher
b5328879f5
Rename tree.js to tree.js.coffee
2012-10-03 19:39:27 -04:00
Nihad Abbasov
80bcba4ee2
install jquery-atwho-rails
2012-09-23 08:53:48 -07:00
Dmitriy Zaporozhets
2aafd7cf4e
Merge branch 'update-votes-when-adding-notes' of https://github.com/riyad/gitlabhq into riyad-update-votes-when-adding-notes
2012-09-18 08:56:54 +03:00
Dmitriy Zaporozhets
249cb19d96
Fix project update. Make slim form only for reversed comments
2012-09-18 08:54:17 +03:00
Robert Speicher
465e40d3a6
Extract ref switcher into a partial
...
Also moves onchange JS to projects.js.coffee
2012-09-16 12:07:57 -04:00
Riyad Preukschas
6aebb76b5d
Update votes when creating or refreshing notes
2012-09-15 11:55:17 +02:00
Riyad Preukschas
07eec9c66a
Update Notes JS for reversed notes
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
cee230a158
Update JS for adding and removing diff line notes
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
8b6dba749a
Reorder notes view elements
2012-09-14 21:41:56 +02:00
randx
0523b4265b
Application logger
2012-09-11 23:24:53 +03:00
Robert Speicher
d6c384c20f
Reduce the amount of JavaScript written in views
...
Seeing `:javascript` all over Views feels like a code smell. This goes a
long way towards reducing the amount of JS in views, but there's still
plenty to be done on that front.
2012-09-10 02:12:36 -04:00
Robert Speicher
5dcca7e480
Remove some JS that is no longer used
2012-09-09 07:28:42 -04:00
Robert Speicher
3551df8eb1
Minor main.js refactor and docs
2012-09-09 07:28:41 -04:00
Robert Speicher
ad1aa517c7
Add "enable" and "disable" jQuery functions
...
Handles (un)setting the disabled attribute and adding/removing the
'disabled' class
2012-09-09 07:28:41 -04:00
Robert Speicher
3b89f14090
Convert main.js to coffee
...
Remove duplicate 's' hotkey code
2012-09-09 07:28:41 -04:00