Commit graph

1333 commits

Author SHA1 Message Date
Demelziraptor e5bbefc980 change find_or_first to work with default branch 2012-05-16 14:47:59 +01:00
Dmitriy Zaporozhets 1b85cbc6d6 Merge pull request #824 from robbkidd/test_the_mailers
Spec Notify mailers
2012-05-15 23:36:09 -07:00
Robb Kidd 991d23e216 Change calls to Notify methods to send IDs instead of objects. 2012-05-15 22:37:34 -04:00
Robb Kidd e660043d22 Make Notify#new_merge_request_email resque friendly. 2012-05-15 22:37:34 -04:00
Robb Kidd 39061af9f8 Make Notify#new_issue_email resque friendly. 2012-05-15 22:37:34 -04:00
Robb Kidd 2d124d9496 Add delegate for project's name on Note. 2012-05-15 22:37:34 -04:00
Robb Kidd 41c00a20a9 Make Notify#note_wall_email resque friendly
Update method to take ids and then perform #finds itself during mailer
queue worker kick-off.
2012-05-15 22:37:34 -04:00
Robb Kidd 0a9a2c2a0b Make Notify#note_commit_email resque friendly
Update method to take ids and then perform #finds itself during mailer
queue worker kick-off. Also, the faux SHA1 cannot have underscores or
it will not match the commit pattern defined in the routes.
2012-05-15 22:37:34 -04:00
Robb Kidd 435fd8f087 Make Notify#note_issue_email resque friendly
Update method to take ids and then perform #finds itself during mailer
queue worker kick-off.
2012-05-15 22:37:34 -04:00
Robb Kidd bb22360d1a Make Notify#note_merge_request_email resque friendly
Update method to take ids and then perform #finds itself during mailer
queue worker kick-off.
2012-05-15 22:37:33 -04:00
Robb Kidd 5fe75649b3 Rename changed_mr_email to reassigned_mr_email & make resque friendly
#changed_merge_request_email was really sending emails about merge
request reassignments. Updated method name to reflect that.

Update method to take ids and then perform #finds itself during mailer
queue worker kick-off.
2012-05-15 22:37:33 -04:00
Robb Kidd dd921053c8 Rename changed_issue_email to reassigned_issue_email & make resque friendly
#changed_issue_email was really sending emails about issue reassignments.
Updated method name to reflect that.

Update method to take ids and then perform #finds itself during mailer
queue worker kick-off.
2012-05-15 22:35:53 -04:00
Robb Kidd 345f176a74 Update new_user_email to take id for User and perform find itself. 2012-05-15 22:35:53 -04:00
Robb Kidd 06b45acb8f Add specs for all of the emails. 2012-05-15 22:35:53 -04: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 a27ee18428 Merge pull request #823 from kugaevsky/main_menu_styles
CSS fix: main menu buttons dividers
2012-05-15 08:41:05 -07:00
Nick Kugaevsky 6a4ae93f57 CSS fix: main menu buttons dividers 2012-05-15 18:50:27 +04:00
Dmitriy Zaporozhets 81a89f6a83 Merge pull request #822 from kugaevsky/activity_stream
Activity stream labels css fix
2012-05-15 07:13:06 -07:00
Nick Kugaevsky 451118f19a Activity stream: event labels css fix — proper paddings. 2012-05-15 17:47:01 +04:00
Nick Kugaevsky 7406fb5b12 Activity stream: commit labels css fix — proper paddings and highlighting on hover. 2012-05-15 17:46:18 +04:00
Dmitriy Zaporozhets fab42a612e Merge pull request #814 from kugaevsky/patch-1
Minor headers styles in readme fix: increased line-height for h1..h4.
2012-05-15 01:08:30 -07:00
Dmitriy Zaporozhets 17bd6b13bc Merge pull request #821 from oreofish/showmarkdown
show rendered file if it is .markdown file
2012-05-15 00:18:49 -07:00
Dmitriy Zaporozhets e84411ef33 Merge pull request #820 from robbkidd/add_missing_call_to_find
Fix bug: missing call to MergeRequest.find in Notify#changed_merge_request_email
2012-05-15 00:17:44 -07:00
RickXing 465a195117 show rendered file if it is .markdown file 2012-05-15 09:23:14 +08:00
Robb Kidd e0b709266e Fix missing call to MergeRequest.find in Notify#changed_merge_request_email 2012-05-14 20:19:28 -04:00
Dmitriy Zaporozhets 65382133d5 Merge pull request #761 from michaeltrimm/patch-1
Fixed a bug in the bundle exec rake db:migrate RAILS_ENV=production that...
2012-05-13 08:20:14 -07:00
Valeriy Sizov b5d5ecd155 Merge pull request #812 from bgondy/patch-1
Adding sudo before sudo rm -rf /tmp/gitolite-admin (privileges needed)
2012-05-12 22:50:57 -07:00
Dmitriy Zaporozhets dd79dba804 Merge pull request #809 from robbkidd/spec_protected_branch
Add spec for ProtectedBranch.
2012-05-12 11:31:12 -07:00
Dmitriy Zaporozhets e81ba7b249 Fixed Gemfile.lock 2012-05-12 21:17:42 +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
Nick Kugaevsky c0fa68572e Minor headers styles in readme fix: increased line-height for h1..h4. 2012-05-12 16:50:57 +04:00
RickXing 25b80767bd use resque mailer to send mail background 2012-05-12 17:01:09 +08:00
bgondy 6e3db9a501 Adding sudo before sudo rm -rf /tmp/gitolite-admin (root privileges needed) 2012-05-12 01:42:16 +03:00
Valeriy Sizov 0a3874f6a3 Merge pull request #807 from robbkidd/update_the_gems
Updated gems. Specs all still pass. (Devise pinned to 1.x)
2012-05-11 00:54:51 -07:00
Valeriy Sizov 027524283b Merge pull request #808 from robbkidd/mr_text_column_size_increase_in_schema.rb_too
Add to schema.rb the increased MR text column size.
2012-05-11 00:47:02 -07:00
Robb Kidd d50446088c Add spec for ProtectedBranch. 2012-05-10 22:43:12 +00:00
Robb Kidd 00b4c4571c Add to schema.rb the increased MR text column size.
This change was made in a migration in commit 17a88bb6a2.
Because the schema.rb is checked in, the column size increase should
be here, too.
2012-05-10 21:54:22 +00: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
Valeriy Sizov 9e5c016847 Merge pull request #800 from zx1986/patch-1
in /etc/init.d/gitlab, I add "-l" option in sh command
2012-05-10 02:48:43 -07:00
張旭 8272354288 in /etc/init.d/gitlab, I add "-l" option in sh command 2012-05-09 17:46:42 +08:00
Valeriy Sizov 58640f93aa Merge pull request #794 from SaitoWu/master
update launchy to fix an NoMethodError on development and test mode
2012-05-07 03:42:33 -07:00
Valeriy Sizov ff284b2689 Update .travis.yml 2012-05-07 13:15:09 +03:00
Saito fbf108262d update launchy to fix an nomethod error on development and test mode 2012-05-07 10:55:57 +08:00
Valeriy Sizov d36454cda5 Merge pull request #785 from prydonius/spelling_mistake
spelling mistake 'successfull'
2012-05-04 02:47:19 -07:00
Adnan Abdulhussein f20c079375 spelling mistake 'successfull' 2012-05-03 20:35:15 +01:00
Valeriy Sizov 12bb1d8f39 Merge pull request #775 from netdata/gravatar_empty_issue
When the email address is empty gitlab will give a 500 error
2012-05-03 06:19:49 -07:00
Valeriy Sizov 28bc6c5247 Merge pull request #777 from netdata/Show_better_permissions_overview
Make permission overview structured
2012-05-03 06:17:37 -07:00
Valeriy Sizov 1db3228c33 Merge pull request #778 from netdata/Allow_short_project_names
Allow short project names
2012-05-03 06:15:59 -07:00
Wouter D'Haeseleer babb6a1a6b Define a default value as suggested by ariejan 2012-05-03 14:19:06 +02:00