Commit graph

139 commits

Author SHA1 Message Date
Pat Thoyts a2d244ec06 Handle LDAP missing credentials error with a flash message.
If a user fails to provide a username or password to the LDAP login
form then a 500 error is returned due to an exception being raised
in omniauth-ldap. This gem has been amended to use the omniauth
error propagation function (fail!) to pass this exception message to
the registered omniauth failure handler so that the Rails application
can handle it approriately.

The failure function now knows about standard exceptions and no longer
requires a specific check for the OmniAuth::Error exception added by
commit f322975.

This resolves issue #1077.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
2012-07-21 09:04:05 +01:00
Valeriy Sizov 65dc68b35c Refactoring of hook functionality & bootsrap system hooks 2012-07-19 00:25:10 +03:00
Nihad Abbasov 2abd054b0c update devise 2012-07-05 23:50:24 -07:00
Dmitriy Zaporozhets 9b337b8328 Epic: Gitlab configuration with default values 2012-07-02 21:51:48 +03:00
randx 2def1c7217 Merge Request -> show. Refactored. f5 support for diff 2012-06-29 21:55:22 +03:00
Dmitriy Zaporozhets 318350e34f Merge branch 'api' of https://github.com/NARKOZ/gitlabhq
Conflicts:
	Gemfile.lock
2012-06-29 14:25:20 +03:00
Saito 1df1daa12e use gitlabhq/grack instead of my fork 2012-06-29 18:49:36 +08:00
Saito 61b85aed59 add grack to support smart http protocal for git 2012-06-29 10:52:09 +08:00
Nihad Abbasov 4aca61e8a6 install grape and mount Gitlab::API 2012-06-28 03:42:58 -07:00
Dmitriy Zaporozhets 1b1e77c728 Issue Labels: Edit, show, index + filter 2012-06-27 21:20:35 +03:00
Dmitriy Zaporozhets 89d3366e76 Fix ldap blank password 2012-06-26 10:55:25 +03:00
randx 55f8338502 Merge branch 'separate_user_and_issue_observer_from_mail_observer' of https://github.com/robbkidd/gitlabhq into robbkidd-separate_user_and_issue_observer_from_mail_observer 2012-06-24 09:33:22 +03:00
Nihad Abbasov fd44b6b69d move assets gems to assets group 2012-06-22 02:00:09 -07:00
Nihad Abbasov da5cf9d085 downgrade raphael js to 1.5.2 2012-06-22 01:57:05 -07:00
Robb Kidd 5303cc285a Add resque_spec to test queuing mail. 2012-06-20 14:09:46 -04:00
Dmitriy Zaporozhets 316dfbaea8 Update pygments version 2012-06-20 13:45:26 +03:00
Wouter D'Haeseleer 5d39f47c4b Update to the latst grit
The latest grit includes a patch for performance improvements.
2012-06-19 22:24:07 +02:00
Dmitriy Zaporozhets 5bbf3ccf05 Cucumber:
* Profile
* Browse code
* Sceleton for main features
* Wiki
* Commits
2012-06-15 07:15:28 +03:00
Dmitriy Zaporozhets a6dad85d2f Get rid of modularity gem, Styled 'nothing here' message 2012-06-11 13:55:38 +03:00
Andrey Vakarev 93f3fedef5 Update rails version to 3.2.5 2012-06-08 13:28:19 +03:00
nathanvda c4d4040898 Point to the correct grit with the tag_count and branch_count methods. 2012-06-03 11:51:54 +02:00
Nihad Abbasov 865cf830c4 get rid of unused assets, use gems instead 2012-05-29 18:45:18 +05:00
Nihad Abbasov 8c7caaa69c use chosen-rails 2012-05-29 17:50:10 +05:00
Nihad Abbasov 475d9f487f use ffaker gem 2012-05-29 17:35:34 +05:00
Nihad Abbasov 078b312a31 cleanup Gemfile 2012-05-29 17:22:26 +05:00
Nihad Abbasov 632415567f use shoulda-matchers instead of shoulda gem 2012-05-29 02:35:50 +05:00
Dmitriy Zaporozhets 1b2068eaa9 Gem updates & githost logger
* Grit gem updated
* gitolite-client updated
* logger added
* few fixes
2012-05-21 23:17:41 +03:00
Akzhan Abdulin 7c154aa460 Use modified pygments.rb to allow dependency to rubypython 0.6.1 or above that fixes installation issues on some 64bit OSes like RHEL-based Scientific Linux 6. 2012-05-19 09:33:19 +02:00
Robb Kidd c7489578e6 Add specs for Notify ActionMailer emails.
Covers new user, new issue and wall note emails.

Depends on email_spec (https://github.com/bmabey/email-spec/) for
friendly matchers.
2012-05-15 22:35:53 -04:00
Dmitriy Zaporozhets be79c9def9 CSS improvements for diff & file view 2012-05-15 19:35:18 +03:00
Dmitriy Zaporozhets 39504aa19b Merge branch 'resquemailer' of https://github.com/oreofish/gitlabhq into oreofish-resquemailer
Conflicts:
	Gemfile.lock
2012-05-12 21:02:13 +03:00
RickXing 25b80767bd use resque mailer to send mail background 2012-05-12 17:01:09 +08:00
Robb Kidd d0eaca919b Updated gems. Specs all still pass. (Devise pinned to 1.x)
Pinned devise to the 1.x series for the moment. Going to 2.0 threw
deprecation warnings about:
* Devise.stateless_token= (append :token_auth to Devise.skip_session_storage instead)
* devise.registrations.reasons in yml (use devise.registrations.signed_up_but_REASON)
2012-05-10 21:46:07 +00:00
Dmitriy Zaporozhets 28cb43135c Hooks UI improved, Request tests added 2012-04-26 20:43:12 +03:00
Dmitriy Zaporozhets 8d02d8c045 linguist gitlab fork 2012-04-21 01:48:03 +03:00
Dmitriy Zaporozhets 9cb51c6ea2 Merge branch 'use_redcarpet_for_markdown' of https://github.com/arthurschreiber/gitlabhq into arthurschreiber-use_redcarpet_for_markdown
Conflicts:
	Gemfile
	Gemfile.lock
2012-04-21 01:44:15 +03:00
Dmitriy Zaporozhets 9c76bd9540 Project linguist integration 2012-04-21 01:26:22 +03:00
Arthur Schreiber 5b6019f357 Using github's linguist to better detect filetypes and to do syntax highlighting. 2012-04-20 23:21:12 +02:00
Arthur Schreiber c437e2d7d4 Switch to Redcarpet for Markdown Rendering.
This gives us Github Flavored Markdown, which is awesome.
2012-04-20 23:01:45 +02:00
randx 627efddf63 migrated to bootstrap 2 2012-04-10 08:51:08 +03:00
randx 88d9569a33 Project model refactored. Modularity gem 2012-03-28 10:44:51 +03:00
Dmitriy Zaporozhets b73a33ed4d pygments up to 0.2.7 2012-03-13 20:57:59 +02:00
Valery Sizov f0fd720b4a added unicorn gemfile 2012-03-10 17:48:29 +02:00
Dmitriy Zaporozhets 55e72f4cdf Gitlab moved to mysql 2012-03-06 19:54:59 +02:00
Dmitriy Zaporozhets ed75afbb10 should up to 3.0.1 2012-03-01 21:02:59 +02:00
Dmitriy Zaporozhets bb164ebf1b Send author to post hook. Display push activity to dashboard 2012-02-29 22:38:24 +02:00
Dmitriy Zaporozhets 421451cf09 gem shoulda updated 2012-02-28 23:17:12 +02:00
Ryan Lovelett 4748ae8c8c Fixes the issue with Resque where it was complaining about :public no longer being used. 2012-02-18 09:37:58 -06:00
Saito 5b40a17333 switch ruby-debug to pry 2012-02-13 13:43:58 +08:00
Dmitriy Zaporozhets bc3735004c Moving to rails 3.2 2012-02-11 20:34:25 +02:00
Dmitriy Zaporozhets 8ebfae9a07 Merge branch 'bootstrap'
Conflicts:
	Gemfile
	app/views/commits/_commits.html.haml
	app/views/projects/empty.html.haml
2012-01-30 00:45:35 +02:00
Valery Sizov c083df0570 LDAP BASE IMPLEMENRTATION 2012-01-28 13:11:21 +03:00
Dmitriy Zaporozhets ee2583e1b5 boostrap scss gem 2012-01-26 09:51:11 +02:00
Dmitriy Zaporozhets 9b6c9fe253 Merge pull request #282 from paularmstrong/rakegem
Adding rake to Gemfile. Fixes #48
2012-01-19 11:03:15 -08:00
Dmitriy Zaporozhets 6cf000ff52 Merge branch 'per_line_comment'
Conflicts:
	app/assets/stylesheets/projects.css.scss
2012-01-12 00:42:17 +02:00
Dmitriy Zaporozhets 7f92534f76 pybments.rb version up. gitignore improved 2012-01-12 00:33:54 +02:00
Paul Armstrong 4e703fa151 Adding rake to Gemfile. Fixes #48 2012-01-11 09:26:40 -08:00
Dmitriy Zaporozhets c8b955a44b lil restyle 2012-01-11 16:37:34 +02:00
Saito 26deb7e0b5 add charlock_holmes gem 2011-12-30 22:25:45 +08:00
Saito 7279e8c177 Revert "merge charlock_holmes to master"
This reverts commit a25a85b939.
2011-12-30 18:30:57 +08:00
Saito a25a85b939 merge charlock_holmes to master 2011-12-29 11:52:28 +08:00
Ariejan de Vroom edab46e9fa Added web hooks functionality
This commit includes:

 * Projects can have zero or more WebHooks.
 * The PostReceive job will ask a project to execute any web hooks defined for that project.
 * WebHook has a URL, we post Github-compatible JSON to that URL.
 * Failure to execute a WebHook will be silently ignored.
2011-12-14 17:38:52 +01:00
Ariejan de Vroom 1c9b9b7a3b Added Resque as a dependency 2011-12-12 23:03:38 +01:00
Dmitriy Zaporozhets cabde950bf ubuntu instal scripts 2011-12-06 01:03:05 +02:00
Dmitriy Zaporozhets e06b39ccd2 updated gems & readme 2011-12-05 22:08:21 +02:00
Dmitriy Zaporozhets c03bc6e291 gitolite support in progress | requires gitolite umask 0007 2011-12-04 01:08:08 +02:00
Saito 75fa0632e6 add rchardet19 to detect string encoding 2011-11-28 17:34:11 +08:00
Michael Klishin cce1231b8e Do not install ruby-debug on travis-ci.org, it only wastes time
See http://about.travis-ci.org/docs/user/languages/ruby/ (the "Exclude non-essential gems like ruby-debug" section) for reasoning.
2011-11-27 17:11:47 +04:00
Shane O'Grady 284ba65e8a Use HTTPS Protocol in Gemfile
Switch to the https protocol in the Gemfile & Gemfile.lock since the
git protocol is sometimes blocked by firewalls (and is not easily proxied)
2011-11-23 12:27:06 +00:00
Dmitriy Zaporozhets 4bf4efe712 decorators & tree model 2011-11-20 22:32:12 +02:00
Nihad Abbasov 07b7ddded3 enable ruby-debug again 2011-11-16 22:05:00 +04:00
Nihad Abbasov e10fb64dd6 update gems in order to make it work with ruby 1.9.3 2011-11-16 18:57:37 +04:00
Ariejan de Vroom 786fe29db4 Moved shoulda to the :test group in Gemfile. This prevennts rake test
from running after every other rake command.
2011-11-09 20:50:58 +02:00
Aleksei Kvitinskii 6977150f04 integrate tags plugins 2011-11-04 09:44:43 +02:00
Nihad Abbasov 3f24f54061 install letter_opener 2011-10-31 16:20:41 +04:00
Nihad Abbasov e92669fb2d install rdiscount 2011-10-28 00:37:17 +05:00
DZ 84457708d8 Merge branch 'dev' of dev.gitlabhq.com:gitlabhq into dev 2011-10-27 16:47:39 +03:00
gitlabhq d64f23e294 code cleaning 2011-10-27 16:44:29 +03:00
Nihad Abbasov 38cdb3eba0 update shoulda to edge. fixes deprecations 2011-10-27 02:23:04 +05:00
Adam Leonard 7d773ecb40 Remove mysql2 gem 2011-10-25 20:15:59 -04:00
Adam Leonard 5b284f6adf Add ability to Search issues 2011-10-22 00:06:38 -04:00
gitlabhq 1477a6c8aa moved from albino -> pygments.rb 2011-10-21 15:35:42 +03:00
VSizov dd833d28ad Sortable issues 2011-10-15 19:56:53 +03:00
gitlabhq d3931bfc06 fixed gemfile 2011-10-14 14:57:45 +03:00
gitlabhq 9680c64fa8 gem forks 2011-10-11 00:20:01 +03:00
gitlabhq 162c4b044e issue #94 2011-10-11 00:07:40 +03:00
Valera Sizov e93f1603f5 transition to gem git 2011-10-08 15:33:36 -07:00
Valera Sizov b19a04f53c added thin 2011-10-08 15:33:36 -07:00
gitlabhq 9ba1224867 init commit 2011-10-09 00:36:38 +03:00