gitorious:mainline.git
3 years agoUpdate libdolt
Adam Pohorecki [Mon, 23 Dec 2013 14:09:10 +0000 (15:09 +0100)]
Update libdolt

3 years agoImplement all/archive selector in UserMessages. Refs #384
Adam Pohorecki [Mon, 23 Dec 2013 09:12:08 +0000 (10:12 +0100)]
Implement all/archive selector in UserMessages. Refs #384

3 years agoBump gitorious issues
Pawel Pierzchala [Thu, 19 Dec 2013 10:19:36 +0000 (11:19 +0100)]
Bump gitorious issues

3 years agoBump gitorious-issues version
Pawel Pierzchala [Wed, 18 Dec 2013 11:42:34 +0000 (12:42 +0100)]
Bump gitorious-issues version

3 years agoMove calculating messages in inbox to UserMessages. Refs #384
Adam Pohorecki [Tue, 17 Dec 2013 16:39:32 +0000 (17:39 +0100)]
Move calculating messages in inbox to UserMessages. Refs #384

4 years agoFix SendMessage tests
Adam Pohorecki [Tue, 17 Dec 2013 14:05:38 +0000 (15:05 +0100)]
Fix SendMessage tests

4 years agoMove message selection logic into a separate class. Refs #384
Adam Pohorecki [Tue, 17 Dec 2013 13:56:48 +0000 (14:56 +0100)]
Move message selection logic into a separate class. Refs #384

4 years agoMake mailer test less strict about copy text letter case
Marcin Kulik [Tue, 17 Dec 2013 13:44:01 +0000 (14:44 +0100)]
Make mailer test less strict about copy text letter case

4 years agoBump gitorious-issues
Pawel Pierzchala [Tue, 17 Dec 2013 13:31:57 +0000 (14:31 +0100)]
Bump gitorious-issues

4 years agoFix the path to ssh key add form in activation email
Marcin Kulik [Tue, 17 Dec 2013 12:23:27 +0000 (13:23 +0100)]
Fix the path to ssh key add form in activation email

4 years agoHonour gitorious.overrides.yml file in git hooks
Marcin Kulik [Tue, 17 Dec 2013 12:20:15 +0000 (13:20 +0100)]
Honour gitorious.overrides.yml file in git hooks

4 years agoGet rid of useless MessageThread. Refs #384
Adam Pohorecki [Tue, 17 Dec 2013 11:16:43 +0000 (12:16 +0100)]
Get rid of useless MessageThread. Refs #384

4 years agoShow all recipients of a message in inbox. Refs #384
Adam Pohorecki [Tue, 17 Dec 2013 10:57:37 +0000 (11:57 +0100)]
Show all recipients of a message in inbox. Refs #384

4 years agoAllow all the recipients to read a message. Refs #384
Adam Pohorecki [Tue, 17 Dec 2013 10:14:18 +0000 (11:14 +0100)]
Allow all the recipients to read a message. Refs #384

4 years agoSend email to every recipient of a message. Refs #384
Adam Pohorecki [Tue, 17 Dec 2013 09:42:24 +0000 (10:42 +0100)]
Send email to every recipient of a message. Refs #384

4 years agoMake MessageThread a simple wrapper around a message. Refs #384
Adam Pohorecki [Tue, 17 Dec 2013 09:34:03 +0000 (10:34 +0100)]
Make MessageThread a simple wrapper around a message. Refs #384

4 years agoUpdate :recipients parameter name in MessagesController. Refs #384
Adam Pohorecki [Tue, 17 Dec 2013 09:07:25 +0000 (10:07 +0100)]
Update :recipients parameter name in MessagesController. Refs #384

4 years agoAdd indexes for faster message lookup. Refs #384
Adam Pohorecki [Mon, 16 Dec 2013 13:16:39 +0000 (14:16 +0100)]
Add indexes for faster message lookup. Refs #384

4 years agoAllow Messages to have more than one recipient. Refs #384
Adam Pohorecki [Mon, 16 Dec 2013 12:57:40 +0000 (13:57 +0100)]
Allow Messages to have more than one recipient. Refs #384

4 years agoExtract email notification logic out of the Message class. Refs #384
Adam Pohorecki [Tue, 10 Dec 2013 08:57:18 +0000 (09:57 +0100)]
Extract email notification logic out of the Message class. Refs #384

4 years agoMove sending email to SendMessage service from callback. Refs #384
Adam Pohorecki [Mon, 9 Dec 2013 13:40:05 +0000 (14:40 +0100)]
Move sending email to SendMessage service from callback. Refs #384

4 years agoRemove dependency on active support from ProjectPresenter
Adam Pohorecki [Tue, 17 Dec 2013 08:56:55 +0000 (09:56 +0100)]
Remove dependency on active support from ProjectPresenter

Fixes rake resque:work

4 years agoUse new syntax of exception_notification
Pawel Pierzchala [Mon, 16 Dec 2013 15:11:35 +0000 (16:11 +0100)]
Use new syntax of exception_notification

4 years agoAdd missing :environment dependency to rake tasks
Pawel Pierzchala [Mon, 16 Dec 2013 14:02:02 +0000 (15:02 +0100)]
Add missing :environment dependency to rake tasks

4 years agoUse gitorious forks of gems
Pawel Pierzchala [Mon, 16 Dec 2013 13:38:39 +0000 (14:38 +0100)]
Use gitorious forks of gems

4 years agoUse state_machine with false postive warnings fixed
Pawel Pierzchala [Mon, 16 Dec 2013 12:53:52 +0000 (13:53 +0100)]
Use state_machine with false postive warnings fixed

4 years agoCheck in update Gemfile.lock
Marcin Kulik [Mon, 16 Dec 2013 11:01:01 +0000 (12:01 +0100)]
Check in update Gemfile.lock

4 years agoUndef to_param in ProjectPresenter
Piotr Solnica [Mon, 16 Dec 2013 10:39:58 +0000 (11:39 +0100)]
Undef to_param in ProjectPresenter

4 years agoPrefer using https over git clonning
Pawel Pierzchala [Mon, 16 Dec 2013 10:17:42 +0000 (11:17 +0100)]
Prefer using https over git clonning

4 years agoCharlatanize project presenter
Piotr Solnica [Fri, 13 Dec 2013 21:48:31 +0000 (22:48 +0100)]
Charlatanize project presenter

I moved test out of the micro-tests because, unfortunatelly, stubbed AR
model has different behavior when it comes to #to_param

4 years agoAdd charlatan gem dependency
Piotr Solnica [Fri, 13 Dec 2013 21:48:05 +0000 (22:48 +0100)]
Add charlatan gem dependency

4 years agoBump gitorious-issues
Piotr Solnica [Fri, 13 Dec 2013 21:06:29 +0000 (22:06 +0100)]
Bump gitorious-issues

4 years agoCoerce nil to an empty array in LdapGroup#member_dns
Marcin Kulik [Fri, 13 Dec 2013 18:06:52 +0000 (19:06 +0100)]
Coerce nil to an empty array in LdapGroup#member_dns

4 years agoLoad Gitorious configuration during initialization phase of app booting
Marcin Kulik [Fri, 13 Dec 2013 15:52:02 +0000 (16:52 +0100)]
Load Gitorious configuration during initialization phase of app booting

Previously, the configuration was loaded/initialized in application.rb
file. It was put there so it loads *before* all other initializers that
may need the configuration object. However, Rails loads application.rb
file also when you run `rake -T` or `rake assets:precompile` (even with
initialize_on_precompile = false) thus also loading the configuration.
Configuration loading is a part of initialization so it should not
happen when the app doesn't actually initialize.

This change ensures that the configuration is always loaded before all
other initializers (by having the name prefixed with underscore) but
never unnecessary loaded when the app isn't really initializing.

4 years agoDon't initialize the app during assets compilation
Marcin Kulik [Fri, 13 Dec 2013 14:45:46 +0000 (15:45 +0100)]
Don't initialize the app during assets compilation

4 years agoPrevent tests from loading authentication.yml
Marcin Kulik [Fri, 13 Dec 2013 14:41:59 +0000 (15:41 +0100)]
Prevent tests from loading authentication.yml

4 years agoRemove commented out require from Rakefile
Marcin Kulik [Fri, 13 Dec 2013 14:17:22 +0000 (15:17 +0100)]
Remove commented out require from Rakefile

4 years agoDon't require rake in a Rakefile, that's not needed
Marcin Kulik [Fri, 13 Dec 2013 14:16:23 +0000 (15:16 +0100)]
Don't require rake in a Rakefile, that's not needed

4 years agoRemove explicit loading of app environment in resque rake task
Marcin Kulik [Fri, 13 Dec 2013 14:15:39 +0000 (15:15 +0100)]
Remove explicit loading of app environment in resque rake task

4 years agoDisable config.threadsafe!
Marcin Kulik [Fri, 13 Dec 2013 14:10:49 +0000 (15:10 +0100)]
Disable config.threadsafe!

This option heavily changes the way application initialization happens
and alters auto-loading, class reloading and prevents loading models in
rake tasks when in production mode.

It was making pretty much the whole application code inaccessible for
resque worker that is started from a rake task.

4 years agoRequire routes:reservations task's dependencies during task execution
Marcin Kulik [Fri, 13 Dec 2013 13:36:58 +0000 (14:36 +0100)]
Require routes:reservations task's dependencies during task execution

4 years agoRemove overriden "routes" rake task
Marcin Kulik [Fri, 13 Dec 2013 13:34:47 +0000 (14:34 +0100)]
Remove overriden "routes" rake task

4 years agoRequire mirrorrepos task's dependencies during task execution
Marcin Kulik [Fri, 13 Dec 2013 13:33:42 +0000 (14:33 +0100)]
Require mirrorrepos task's dependencies during task execution

4 years agoRequire changelog task's dependencies during task execution
Marcin Kulik [Fri, 13 Dec 2013 13:32:15 +0000 (14:32 +0100)]
Require changelog task's dependencies during task execution

4 years agoRequire backup tasks' dependencies during tasks execution
Marcin Kulik [Fri, 13 Dec 2013 13:29:12 +0000 (14:29 +0100)]
Require backup tasks' dependencies during tasks execution

4 years agoFix unit test for LdapGroup#memberships_modifiable?
Marcin Kulik [Thu, 12 Dec 2013 13:00:29 +0000 (14:00 +0100)]
Fix unit test for LdapGroup#memberships_modifiable?

4 years agoMake the smtp.yml config file flat (group-less)
Marcin Kulik [Thu, 12 Dec 2013 10:32:02 +0000 (11:32 +0100)]
Make the smtp.yml config file flat (group-less)

We don't need no stinkin' Rails.env.

4 years agoUp UI build
Marcin Kulik [Thu, 12 Dec 2013 10:09:08 +0000 (11:09 +0100)]
Up UI build

4 years agoMake test_ldap_connection script use new authentication method lookup
Marcin Kulik [Wed, 11 Dec 2013 12:50:18 +0000 (13:50 +0100)]
Make test_ldap_connection script use new authentication method lookup

4 years agoUpdate ldap-wizard to handle flat authentication.yml file
Marcin Kulik [Wed, 11 Dec 2013 12:45:06 +0000 (13:45 +0100)]
Update ldap-wizard to handle flat authentication.yml file

4 years agoDon't display "Add member" button for LDAP group
Marcin Kulik [Wed, 11 Dec 2013 12:19:09 +0000 (13:19 +0100)]
Don't display "Add member" button for LDAP group

4 years agoMake the authentication.yml config flat
Marcin Kulik [Wed, 11 Dec 2013 11:58:46 +0000 (12:58 +0100)]
Make the authentication.yml config flat

There's no particular reason to have this file grouped by Rails.env.
You have a single setup on production and in development env.
It supports the legacy (grouped) config files so no user intervention
needed.

4 years agoDRY-up ldap configuration loading
Marcin Kulik [Wed, 11 Dec 2013 11:47:51 +0000 (12:47 +0100)]
DRY-up ldap configuration loading

LdapGroup was loading the authentication.yml by itself, while the config
was already loaded by Gitorious authentication framework.
Now it reuses the LDAP configurator object on authentication method.

4 years agoMove Grit related configuration from application.rb to its initializer
Marcin Kulik [Wed, 11 Dec 2013 10:22:18 +0000 (11:22 +0100)]
Move Grit related configuration from application.rb to its initializer

4 years agoEnable strict locales checking
Marcin Kulik [Wed, 11 Dec 2013 10:15:48 +0000 (11:15 +0100)]
Enable strict locales checking

This will be a default behavior in future Rails releases.

4 years agoMake LDAP connection errors more descriptive
Marcin Kulik [Tue, 10 Dec 2013 16:47:19 +0000 (17:47 +0100)]
Make LDAP connection errors more descriptive

4 years agoMake user ldap group matching case insensitive
Marcin Kulik [Tue, 10 Dec 2013 16:31:34 +0000 (17:31 +0100)]
Make user ldap group matching case insensitive

4 years agoProperly handle legacy (string) LdapGroup#member_dns values
Marcin Kulik [Tue, 10 Dec 2013 16:18:58 +0000 (17:18 +0100)]
Properly handle legacy (string) LdapGroup#member_dns values

4 years agoDisplay ldap_group_names in group form as textarea
Marcin Kulik [Tue, 10 Dec 2013 15:54:44 +0000 (16:54 +0100)]
Display ldap_group_names in group form as textarea

.. as it is a multiline text input.

4 years agoBump virtus
Piotr Solnica [Tue, 10 Dec 2013 12:53:57 +0000 (13:53 +0100)]
Bump virtus

4 years agoFix teams index page rendering when ldap groups are enabled
Marcin Kulik [Mon, 9 Dec 2013 14:47:01 +0000 (15:47 +0100)]
Fix teams index page rendering when ldap groups are enabled

4 years agoFix the readme path lookup in ldap wizard
Marcin Kulik [Mon, 9 Dec 2013 11:20:49 +0000 (12:20 +0100)]
Fix the readme path lookup in ldap wizard

4 years agoFix ldap-wizard gem dependencies
Marcin Kulik [Mon, 9 Dec 2013 11:08:04 +0000 (12:08 +0100)]
Fix ldap-wizard gem dependencies

4 years agoMake the ldap-wizard bind to 0.0.0.0
Marcin Kulik [Mon, 9 Dec 2013 10:56:38 +0000 (11:56 +0100)]
Make the ldap-wizard bind to 0.0.0.0

4 years agoMake LDAP troubleshooting a bit easier when bind_user setting is incorrect
Marcin Kulik [Mon, 9 Dec 2013 10:51:32 +0000 (11:51 +0100)]
Make LDAP troubleshooting a bit easier when bind_user setting is incorrect

4 years agoRemove unused binding_of_caller gem
Marcin Kulik [Wed, 4 Dec 2013 12:36:01 +0000 (13:36 +0100)]
Remove unused binding_of_caller gem

4 years agoUpgrade Rails to 3.2.16
Marcin Kulik [Wed, 4 Dec 2013 12:27:14 +0000 (13:27 +0100)]
Upgrade Rails to 3.2.16

4 years agoRefactor messages so that saving happens only in one place. Refs #384
Adam Pohorecki [Tue, 3 Dec 2013 16:51:17 +0000 (17:51 +0100)]
Refactor messages so that saving happens only in one place. Refs #384

4 years agoExtract a service for sending messages
Adam Pohorecki [Mon, 2 Dec 2013 11:27:01 +0000 (12:27 +0100)]
Extract a service for sending messages

4 years agoRemove references to spinner animation
Piotr Solnica [Tue, 3 Dec 2013 14:50:32 +0000 (15:50 +0100)]
Remove references to spinner animation

4 years agoPin down resque version
Marcin Kulik [Tue, 3 Dec 2013 14:45:00 +0000 (15:45 +0100)]
Pin down resque version

Version 1.25.1 is displaying some deprecation message that bleeds into
the git output when user pushes.

4 years agoDon't serve static assets + generate digests for assets URLs
Marcin Kulik [Tue, 3 Dec 2013 13:51:50 +0000 (14:51 +0100)]
Don't serve static assets + generate digests for assets URLs

4 years agoAdd public index stylesheet to precompiled assets
Piotr Solnica [Tue, 3 Dec 2013 13:32:01 +0000 (14:32 +0100)]
Add public index stylesheet to precompiled assets

4 years agoStop compiling assets on the fly on production
Piotr Solnica [Tue, 3 Dec 2013 13:28:07 +0000 (14:28 +0100)]
Stop compiling assets on the fly on production

4 years agoMove alias_method AFTER the aliased method, fool
Marcin Kulik [Tue, 3 Dec 2013 12:16:57 +0000 (13:16 +0100)]
Move alias_method AFTER the aliased method, fool

4 years agoMake the abstracted Commit class interface compatible with old Grit commits
Marcin Kulik [Tue, 3 Dec 2013 11:56:30 +0000 (12:56 +0100)]
Make the abstracted Commit class interface compatible with old Grit commits

This is a temporary measure. When we convert all the code to use new
abstraction this alias can be removed.

4 years agoBump issues
Piotr Solnica [Tue, 3 Dec 2013 00:25:13 +0000 (01:25 +0100)]
Bump issues

4 years agoBump issues
Piotr Solnica [Tue, 3 Dec 2013 00:04:33 +0000 (01:04 +0100)]
Bump issues

4 years agoBump issues
Piotr Solnica [Mon, 2 Dec 2013 23:55:35 +0000 (00:55 +0100)]
Bump issues

4 years agoBump issues
Piotr Solnica [Mon, 2 Dec 2013 23:47:16 +0000 (00:47 +0100)]
Bump issues

4 years agoBump issues
Piotr Solnica [Mon, 2 Dec 2013 21:07:51 +0000 (22:07 +0100)]
Bump issues

4 years agoFix-all-the-broken-tests
Piotr Solnica [Mon, 2 Dec 2013 19:45:12 +0000 (20:45 +0100)]
Fix-all-the-broken-tests

4 years agoMove image assets to app/assets and merge img/images folders
Piotr Solnica [Mon, 2 Dec 2013 18:25:26 +0000 (19:25 +0100)]
Move image assets to app/assets and merge img/images folders

4 years agoUpdate ui3
Piotr Solnica [Mon, 2 Dec 2013 18:14:09 +0000 (19:14 +0100)]
Update ui3

4 years agoAdd features to projects
Piotr Solnica [Mon, 2 Dec 2013 18:09:33 +0000 (19:09 +0100)]
Add features to projects

4 years agoMerge branch 'master' into issues-integration
Piotr Solnica [Mon, 2 Dec 2013 17:54:06 +0000 (18:54 +0100)]
Merge branch 'master' into issues-integration

4 years agoUpdate ui3
Piotr Solnica [Mon, 2 Dec 2013 17:53:07 +0000 (18:53 +0100)]
Update ui3

4 years agoAdd migration from issues
Piotr Solnica [Mon, 2 Dec 2013 17:52:35 +0000 (18:52 +0100)]
Add migration from issues

4 years agoRefactor pull-box helper a bit
Piotr Solnica [Mon, 2 Dec 2013 17:46:40 +0000 (18:46 +0100)]
Refactor pull-box helper a bit

4 years agoUpdate issues
Piotr Solnica [Mon, 2 Dec 2013 17:46:09 +0000 (18:46 +0100)]
Update issues

4 years agoOptimize Commits.not_merged_upstream
Marcin Kulik [Mon, 2 Dec 2013 11:53:02 +0000 (12:53 +0100)]
Optimize Commits.not_merged_upstream

This change alters the algorithm so it first filters out all the commits
with common shas, and then it compares their changesets.

4 years agoEnable the new algorithm for finding the commits to be merged upstream in MR#new
Marcin Kulik [Mon, 2 Dec 2013 11:16:59 +0000 (12:16 +0100)]
Enable the new algorithm for finding the commits to be merged upstream in MR#new

This reverts commit 6c2b012f11a0d3128c7773e327003792d08c66eb.

4 years agoUp UI build
Marcin Kulik [Mon, 2 Dec 2013 10:51:41 +0000 (11:51 +0100)]
Up UI build

4 years agoCopy disk usage from parent repo when cloning
Marcin Kulik [Mon, 2 Dec 2013 10:22:04 +0000 (11:22 +0100)]
Copy disk usage from parent repo when cloning

4 years agoAdd missing require in ldap authorization
Marcin Kulik [Fri, 29 Nov 2013 16:05:50 +0000 (17:05 +0100)]
Add missing require in ldap authorization

4 years agoDisplay all teams on "Teams" page
Marcin Kulik [Fri, 29 Nov 2013 12:13:41 +0000 (13:13 +0100)]
Display all teams on "Teams" page

4 years agoRevert "Use the new algorithm for finding the commits to be merged upstream in MR...
Marcin Kulik [Fri, 29 Nov 2013 12:00:48 +0000 (13:00 +0100)]
Revert "Use the new algorithm for finding the commits to be merged upstream in MR#new"

This reverts commit 84df97ba4bd313a689df8c32d4a1b2ab1883f1a5.
The current algorithm generates a patch for each commit in a history.
This appeared to be very slow. Disabling this new code until we find a
faster way of comparing commits.

4 years agoUse the new algorithm for finding the commits to be merged upstream in MR#new
Marcin Kulik [Fri, 29 Nov 2013 11:08:52 +0000 (12:08 +0100)]
Use the new algorithm for finding the commits to be merged upstream in MR#new

4 years agoFix whitespace
Marcin Kulik [Fri, 29 Nov 2013 10:33:23 +0000 (11:33 +0100)]
Fix whitespace

4 years agoMake actor's name its string representation
Marcin Kulik [Fri, 29 Nov 2013 10:32:11 +0000 (11:32 +0100)]
Make actor's name its string representation