Robert Speicher
8808c5fa8d
Merge branch 'master' into emoji
2012-09-06 15:23:42 -04:00
Dmitriy Zaporozhets
a595f8944a
Merge pull request #1392 from NARKOZ/refactoring
...
refactor factory specs
2012-09-06 08:11:41 -07:00
Nihad Abbasov
46b9aafc39
add missing selector to projects.js
2012-09-06 07:56:33 -07:00
Dmitriy Zaporozhets
b57620e23b
Merge branch 'normalize_capitalization' of https://github.com/AlexDenisov/gitlabhq into AlexDenisov-normalize_capitalization
2012-09-06 17:36:04 +03:00
Nihad Abbasov
66684d6d50
move code from application.js to separate file
2012-09-06 05:47:13 -07:00
Nihad Abbasov
88d394d396
cleanup projects.coffee
2012-09-06 05:44:44 -07:00
Nihad Abbasov
e7c2ee57aa
delete unnecessary team.js
2012-09-06 05:06:01 -07:00
Nihad Abbasov
06acc115ed
rewrite snippets.js in coffeescript
2012-09-06 04:51:42 -07:00
Nihad Abbasov
f8b588808e
rewrite loader.js in coffeescript
2012-09-06 04:50:01 -07:00
Nihad Abbasov
08d9421dd9
rewrite graph.js in coffeescript
2012-09-06 04:32:31 -07:00
Nihad Abbasov
60e18e2636
rewrite admin.js in coffeescript
2012-09-06 04:32:01 -07:00
Nihad Abbasov
c106bb7096
minor refactoring of commits controller
2012-09-06 04:03:46 -07:00
Alex Denisov
562af7a6a2
Merge branch 'master' into normalize_capitalization
2012-09-06 11:40:56 +03:00
Alex Denisov
09a86bd4d6
Capitlization of /gitlab/i normalized. #1367
2012-09-06 11:21:35 +03:00
Robert Speicher
90f587f4ee
Move the entire gfm
method to Gitlab::Markdown, which will be a module now
2012-09-05 16:06:20 -04:00
Robert Speicher
d480a478c1
Add emoji image files
2012-09-05 16:04:41 -04:00
randx
21bfd1e7fc
minor css improvements
2012-09-05 23:00:10 +03:00
Nihad Abbasov
0b559cdece
add validations for boolean attributes
2012-09-05 04:01:11 -07:00
Dmitriy Zaporozhets
982a4095c1
Use tw style for some buttons. Improved deploy key UI
2012-09-05 08:56:59 +03:00
Robert Speicher
5e1c63d3f0
Move load_refs out of ApplicationController and into CommitsController
...
That was the only place it was used.
2012-09-05 01:13:41 -04:00
Robert Speicher
a9f275bc20
Fix load_refs in ApplicationController after default_branch change
...
As a last resort it was calling a method that didn't exist. Woops!
2012-09-05 01:12:44 -04:00
Robert Speicher
443e23e61a
Add Repository#discover_default_branch and add it to PushObserver
2012-09-05 01:01:20 -04:00
Robert Speicher
f06d98e907
Add SetDefaultBranchDefaultToNil migration
...
default_branch now defaults to nil, not 'master'. It will be set after the first
push by discover_default_branch.
2012-09-05 01:00:07 -04:00
Robert Speicher
0bc4ecfedd
Change projects/empty to include the clone_panel partial instead of duplicating
2012-09-04 12:05:21 -04:00
Robert Speicher
82a3996883
Remove projects/_show partial
...
I have no earthly idea what this file was for, but I couldn't find it being
rendered anywhere.
2012-09-04 12:05:21 -04:00
Robert Speicher
a463353773
Add "empty_repo?" method to Repository role
...
Replaces two calls that this method simplifies
2012-09-04 12:05:21 -04:00
Robert Speicher
7e76610d0a
Update the projects js file to coffeescript; refactor the clone panel switcher
2012-09-04 12:05:20 -04:00
Robert Speicher
c1ff89fa2a
Rename projects.js to projects.js.coffee
2012-09-04 11:30:49 -04:00
Dmitriy Zaporozhets
c347fd3f88
Merge pull request #1366 from tsigo/markdown_help
...
Change @project instance variable to a local in views/help/markdown
2012-09-04 00:28:04 -07:00
Robert Speicher
6471d8c652
Change @project instance variable to a local in views/help/markdown
...
It was erroneously appending the project name to the page's title, even
though the Help system isn't specific to one project.
2012-09-04 03:18:26 -04:00
Robert Speicher
d29827433d
Update User#identifier to conform to Gitolite 2.x's user pattern
...
Also modifies the specs a bit because I can't help myself.
Closes #480
2012-09-04 00:20:17 -04:00
Robert Speicher
b44e9a08d5
Add Milestone link to API help TOC
...
[ci skip]
2012-09-03 20:38:41 -04:00
randx
5db2dbdcf1
fix browse file css
2012-09-03 22:57:34 +03:00
randx
f557686eb2
git clone panel available on files tab too
2012-09-03 22:30:14 +03:00
randx
8ca0b75d05
Tables refactored
2012-09-03 21:53:16 +03:00
Dmitriy Zaporozhets
c7cfe3d83b
devise session templates to haml. Fix problem with missing message in commit
2012-09-03 08:15:07 +03:00
Dmitriy Zaporozhets
6997543ac2
Merge pull request #1351 from tsigo/nonrelative_resque
...
Give Resque route a name and use that for the iframe src
2012-09-02 11:58:13 -07:00
Dmitriy Zaporozhets
f9711cd81a
Merge pull request #1355 from tsigo/gfm_spec_cleanup
...
GFM spec redesign
2012-09-02 11:57:33 -07:00
Robert Speicher
40d619107f
Add link_title to CommitDecorator
2012-09-02 13:40:14 -04:00
Robert Speicher
8db2a59d0b
Add StaticModel role, and add it to Commit model
...
Instead of doing this:
link_to(commit.id, project_commit_path(project, id: commit.id))
Note.create(noteable_id: commit.id, noteable_type: "Commit", ...)
It lets us do this:
link_to(commit.id, project_commit_path(project, commit))
Note.create(noteable: commit, ...)
2012-09-02 13:40:07 -04:00
randx
aecbd313bc
Fix glm by adding id and classes to sanitize white attrs
2012-09-02 15:25:54 +03:00
randx
beb5e1bd6b
Sanitize glm helper
2012-09-01 23:35:04 +03:00
randx
adeeae9f73
Few fixes for ~ 1000px resolution
2012-09-01 22:21:28 +03:00
Robert Speicher
0de5d08e37
Give Resque route a name and use that for the iframe src
...
Closes #1350
2012-08-31 19:28:32 -04:00
Florian Unglaub
0dd94cd86e
DRY'ed up the user model
2012-08-31 16:44:23 +02:00
Florian Unglaub
1b0198f1d3
save newly created users directly in the model
2012-08-31 16:24:12 +02:00
Florian Unglaub
6d6c7a17ea
Allow single-sign-on with Omniauth
2012-08-31 15:45:50 +02:00
Dmitriy Zaporozhets
ed954ebae2
Merge pull request #1326 from AlexDenisov/issue_status_changed_notifications
...
Issue status changed notifications
2012-08-31 00:51:31 -07:00
randx
65abd8b20a
Freeze project path in admin area
2012-08-31 09:05:44 +03:00
randx
5e510ada7a
Js validation for title presence in issue, mr, milestone
2012-08-30 22:28:45 +03:00
randx
b9ff0c79b4
Changed filters to readable one. Styled some stuff
2012-08-30 22:15:34 +03:00
randx
4a6596af27
Fixed bunch of js bugs with comments. Also added development tips
2012-08-30 21:31:55 +03:00
randx
92137b7beb
Removed class 'small' for some buttons. Fixed issue creation
2012-08-30 20:00:16 +03:00
randx
d246a68a24
fix project.last_activity spec
2012-08-30 19:45:05 +03:00
Dmitriy Zaporozhets
cd3d50caf2
Changed colors for buttons. Imporved preview area. Added clone panel to empty project
2012-08-30 09:27:02 +03:00
Dmitriy Zaporozhets
4e47402852
Fixed project last_activity. Links color changed a bit
2012-08-30 09:09:42 +03:00
Dmitriy Zaporozhets
793db070f0
Restyled projects list on dashboard
2012-08-30 08:13:36 +03:00
randx
51558bd57a
Refactoring scss & improving some UI elements
2012-08-29 22:29:50 +03:00
randx
1dd938d20c
SCSS refactoring & cleanup. First iteration
2012-08-29 21:23:43 +03:00
Alex Denisov
2703fe3e72
Merge branch 'master' into issue_status_changed_notifications
2012-08-29 11:42:15 +03:00
Alex Denisov
05af5655a7
Merge branch 'master' into issue_status_changed_notifications
2012-08-29 11:21:14 +03:00
Alex Denisov
43cad71f1a
Duplicate code removed from IssueObserver#after_update
2012-08-29 10:50:35 +03:00
Alex Denisov
2cb0a62f7d
Notification sends to issue author and assignee if issue being reopened or closed
2012-08-29 10:48:17 +03:00
Alex Denisov
4d65532158
Issue_status_changed email added
2012-08-29 09:49:39 +03:00
randx
e5adca1b81
Preview as button. Disable note submit unless content
2012-08-29 08:13:38 +03:00
Robert Speicher
8a49cdc3b4
Add milestone API docs to doc/README and views/help/api
...
Also removes `closed` attribute option from create action.
2012-08-29 08:45:00 -04:00
Dmitriy Zaporozhets
adc71b6a6a
Fix test i broke with ssk key validation. Added Key.user_id as attr_protected
2012-08-29 07:58:22 +03:00
Dmitriy Zaporozhets
5afb16e496
Add ssh key validation
2012-08-29 07:13:29 +03:00
randx
ad3a88cfd3
Prepared for gitolite v3
2012-08-29 02:03:04 +03:00
Dmitriy Zaporozhets
1f5e2658f5
Merge pull request #1412 from tsigo/more_coffeescript
...
Convert main.js to CoffeeScript
2012-09-09 06:48:33 -07: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
Robert Speicher
93daa8c568
Move main.js to main.js.coffee
2012-09-09 07:28:41 -04:00
Robert Speicher
1c01536829
Fix spelling of "empty" in disableButtonIfEmptyField function name
2012-09-09 07:28:41 -04:00
Dmitriy Zaporozhets
2e8b5ebefd
Merge pull request #1386 from tsigo/github_markup
...
Use GitHub::Markup to parse markup files
2012-09-09 03:34:50 -07:00
miks
2e76342d72
typo fixed
2012-09-08 12:37:23 +03:00
miks
4226458faf
Merge branch 'master' into project_users_api
2012-09-08 10:50:24 +03:00
miks
2dc0519277
bulk access roles update/deletion added
2012-09-06 23:14:42 +03:00
Robert Speicher
52c521ffe8
Use GitHub::Markup to parse markup files
...
Closes #1382
2012-09-05 16:52:49 -04:00
Robert Speicher
b78fd0c130
Add github-markup gem
2012-09-05 16:50:03 -04:00
randx
b03ee4666b
Handle invalid ssh exception
2012-08-29 00:44:26 +03:00
randx
7cdc5b9e04
Use similar interface to access gitolite
...
Simplified gitolite handle logic
Stubn over monkeypatch
Stub only specific methods in Gitlab:Gitolite
Moved grach auth to lib
added specs for keys observer
removes SshKey role
2012-08-29 00:04:06 +03:00
Riyad Preukschas
1f1ce5fbd4
Revamp GFM user docs.
2012-08-27 21:20:26 +02:00
Riyad Preukschas
806695f491
Split and reformat markdown options and add refs to their docs.
...
Also add hard_wrap option.
2012-08-27 21:20:13 +02:00
Riyad Preukschas
58a581782b
Update forms to show consistent link to GFM.
2012-08-27 20:55:01 +02:00
Dmitriy Zaporozhets
cb35a80e49
Merge pull request #993 from veprbl/fix_archiving_prefix
...
Download button: put files into a directory
2012-08-27 11:04:00 -07:00
Dmitriy Zaporozhets
cb6fcb6562
Merge pull request #1301 from Mikulas/help-web-hooks-typo
...
fix web hooks help view commit count off by one
2012-08-27 04:58:32 -07:00
Dmitriy Zaporozhets
65444ba311
Merge pull request #1307 from purwandi/master
...
use high quality icon on folder icon
2012-08-27 01:33:06 -07:00
Purwandi
28cc4de267
Replace folder icon to use high quality
2012-08-27 12:43:28 +07:00
Alex Denisov
3c96d1f0e1
Send notification on update UserProject relation (access changed)
2012-08-27 00:32:03 +03:00
Alex Denisov
aaeb37419a
Send notifiation on create UserProject relation (access granted)
2012-08-27 00:13:03 +03:00
randx
2c32574ac3
Project git clone panel
2012-08-25 23:39:01 +03:00
Dmitriy Zaporozhets
efde86537a
Merge pull request #1110 from gliptak/patch-1
...
Display configured git repository location on error page
2012-08-25 13:04:41 -07:00
Dmitriy Zaporozhets
79e936e632
Merge pull request #1300 from tsigo/spec_reorganize
...
Spec cleanup/reorganization
2012-08-25 13:03:44 -07:00
Mikuláš Dítě
e0cd807020
fix web hooks help view commit count off by one
2012-08-25 20:48:30 +02:00
Robert Speicher
580ce4f2d8
Minor cleanup to Milestone model and spec
...
Back-ported from my still-in-progress major cleanup.
2012-08-25 14:19:16 -04:00
randx
6ff0652e9e
Admin area -> user form
2012-08-25 20:31:19 +03:00
randx
f13bccc14b
better flash message style
2012-08-25 19:47:00 +03:00