Commit graph

1753 commits

Author SHA1 Message Date
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
randx b32465712b Up to 2.6 2012-06-21 20:25:23 +03:00
randx 1903f6ade0 admin area -> search for users 2012-06-21 19:05:09 +03:00
randx 98a45ce6ee admin area -> search for projecs 2012-06-21 18:54:57 +03:00
randx 77cf662034 Pushed widget improved 2012-06-21 18:41:22 +03:00
randx ed247b3893 resque auth example 2012-06-21 17:23:51 +03:00
randx 2d16585eae Few minor css improvements 2012-06-21 17:23:25 +03:00
randx e0805ec469 Backgrounds for Issues 2012-06-21 16:43:40 +03:00
Dmitriy Zaporozhets 75cf927d3b Issues & MR legend 2012-06-21 08:29:53 +03:00
randx b64ceadbf2 lets comment browse feature 2012-06-21 09:58:18 +03:00
Robb Kidd 65989141dc Protect IssueObserver#send_reassigned_email method. 2012-06-20 21:23:05 -04:00
Zevs 5fd2f7158e remove double negative 2012-06-21 00:21:13 +03:00
Dmitriy Zaporozhets bbb926f3c4 Merge pull request #952 from gitlabhq/remove_link_to_function
Get rid of deprecated link_to_function
2012-06-20 13:09:33 -07:00
randx d5b41831d1 missed ; 2012-06-20 23:08:10 +03:00
randx 1a05f2f7c9 Get rid of deprecated link_to_function 2012-06-20 21:29:55 +03:00
Robb Kidd 70c6b48ebc Remove :issue from MailerObserver; handled by IssueObserver now.
:issue snuck back in during rebasing.
2012-06-20 14:09:46 -04:00
Robb Kidd eba61c111d Remove upvotes method from Issue.
Must have snuck in during one of the multiple rebases while observers were
being refactored.
2012-06-20 14:09:46 -04:00
Robb Kidd 88964132ed Extract observation of User to a UserObserver 2012-06-20 14:09:46 -04:00
Robb Kidd 97ca4f5dda Deliver issue mails.
It helps to actually deliver messages.
2012-06-20 14:09:46 -04:00
Robb Kidd dfb5da9da3 Disable observers in specs. Enable only when observer is under test.
Used the built-in observer enable/disable feature in ActiveModel[1].
ActiveRecord::Base includes ActiveModel::Observing which provides this
behavior.

Simple wraps to enable the observer under test were added to the specs
for: ActivityObserver, IssueObserver, Admin::Users and Issues.

The spec for Project.last_activity was refactored to separate the tests
for #last_activity and #last_activity_date. Each had doubles added to
isolate the spec from the hidden dependency on the ActivityObserver
action to create an Event for the project when an Issue is created. This
ActivityObserver behavior is already tested by its spec.

[1] http://api.rubyonrails.org/classes/ActiveModel/ObserverArray.html
2012-06-20 14:09:46 -04:00
Robb Kidd 5303cc285a Add resque_spec to test queuing mail. 2012-06-20 14:09:46 -04:00
Robb Kidd 6617eaaf9b Make IssueObserver handle issus, not MailerObserver 2012-06-20 14:09:46 -04:00
Robb Kidd 356430c3c0 Add method for an issue to know whether it is being closed
Update IssueObserver to create a Note on the issue its being closed.
2012-06-20 14:09:46 -04:00
Robb Kidd 02924de3e1 Add method to Note to create notes about status changes. 2012-06-20 14:09:46 -04:00
Robb Kidd 00ec81eacb Update IssueObserver to send reassigned emails when an issue is reassigned. 2012-06-20 14:09:46 -04:00
Robb Kidd 2416e3cb19 Add new utility method for an issue to know whether it is being reassigned 2012-06-20 14:09:46 -04:00
Robb Kidd f6035552e5 New IssueObserver class and spec.
Handles emails for new issues and reassigned issues.
Need to add creating a Note on Issue close.
2012-06-20 14:09:46 -04:00
Zevs 6507c1085e Revert "Handle Commit "show suppressed diff" link with a doc-ready event handler."
This reverts commit ef1598b4af.
2012-06-20 21:01:27 +03:00
Zevs a9c7de8815 Revert "Handle MR "show all commits" link with a doc-ready event handler."
This reverts commit 5b1ede6280.
2012-06-20 21:01:00 +03:00
Zevs 581a822326 Revert "Invert "unless .empty?" to "if .present?"; unless-else is evil."
This reverts commit 7484bcfff7.
2012-06-20 21:00:34 +03:00
Valeriy Sizov 65c35394eb Merge pull request #951 from robbkidd/remove_link_to_function
Replace calls to deprecated link_to_function with doc-ready functions.
2012-06-20 10:43:32 -07:00
randx 4ac0160a11 Hande error with huge commits 2012-06-20 20:08:18 +03:00
Dmitriy Zaporozhets c7542eb801 Merge pull request #950 from netdata/Create_link_from_keys_count
make a hyperlink from the counted keys
2012-06-20 08:29:05 -07:00
Wouter D'Haeseleer c3d1f2eb9b make a hyperlink from the counted keys
Refs Ticket #948
2012-06-20 17:16:56 +02:00
Robb Kidd ef1598b4af Handle Commit "show suppressed diff" link with a doc-ready event handler.
Replaces link_to_function use which was deprecated in Rails v3.2.4.
https://github.com/rails/rails/commit/9dc57fe9c

Still absent is a graceful degrade for no-JS.
2012-06-20 11:11:17 -04:00
Dmitriy Zaporozhets 316dfbaea8 Update pygments version 2012-06-20 13:45:26 +03:00
Dmitriy Zaporozhets 2255dc8f8d Merge pull request #947 from netdata/Update_gemfile_for_latest_grit
Update to the latest grit
2012-06-20 02:35:02 -07:00
Wouter D'Haeseleer 13e7ef4b7d Update Gemfile.lock as well 2012-06-20 11:14:41 +02: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 3ca6c960ce Merge pull request #942 from veprbl/network_graph_fix
Network graph fix (#909)
2012-06-19 06:55:26 -07:00
Dmitry Kalinkin 163395793b network graph: fixed minor visual artefacts 2012-06-19 17:29:32 +04:00
Dmitry Kalinkin c31c84f58a network graph: use same color for all branch 2012-06-19 17:29:32 +04:00
Dmitry Kalinkin 464ca2a248 network graph: change lines to be more github-like (removes some ambiguousness in graph presentation) 2012-06-19 17:29:32 +04:00
Dmitry Kalinkin efc86f9711 small refactoring for branch-graph.js 2012-06-19 17:29:32 +04:00
Dmitry Kalinkin f33a80a522 #909 fix network graph json generation 2012-06-19 17:29:31 +04:00
Dmitriy Zaporozhets 25f1a7ec8a Merge pull request #940 from anoldguy/master
Update Fonts to include good Windows Default monospaced font, too.
2012-06-19 04:01:52 -07:00
Nathan Anderson 19a9cd7f9d Included good default font for Windows. 2012-06-19 07:56:09 -03:00
Nathan Anderson 77860f3537 Included good default for Windows and standardized <pre> font families 2012-06-19 07:55:01 -03:00
Dmitriy Zaporozhets acdbc1b4c5 Better fonts for code 2012-06-19 13:48:39 +03:00