gitorious:mainline.git
4 years agoRename RepositoryCommitterships#committerships to #all
Pawel Pierzchala [Fri, 17 Jan 2014 16:21:59 +0000 (17:21 +0100)]
Rename RepositoryCommitterships#committerships to #all

4 years agoMove ldap selectors into RepositoryLdapCommitterships
Pawel Pierzchala [Fri, 17 Jan 2014 16:16:56 +0000 (17:16 +0100)]
Move ldap selectors into RepositoryLdapCommitterships

4 years agoAdd commit_repositories to UserCommitterships
Pawel Pierzchala [Fri, 17 Jan 2014 15:30:45 +0000 (16:30 +0100)]
Add commit_repositories to UserCommitterships

4 years agoUse UserCommitterships in UserAdministration
Pawel Pierzchala [Fri, 17 Jan 2014 15:11:43 +0000 (16:11 +0100)]
Use UserCommitterships in UserAdministration

4 years agoDelegate to CommittershipsRepositories from DatabaseAuthorization
Pawel Pierzchala [Fri, 17 Jan 2014 14:47:13 +0000 (15:47 +0100)]
Delegate to CommittershipsRepositories from DatabaseAuthorization

4 years agoRemove dead template
Pawel Pierzchala [Fri, 17 Jan 2014 14:14:05 +0000 (15:14 +0100)]
Remove dead template

4 years agoAlways create committership for committerships/index
Pawel Pierzchala [Fri, 17 Jan 2014 14:08:29 +0000 (15:08 +0100)]
Always create committership for committerships/index

4 years agoFix create_for_owner! in micro specs
Pawel Pierzchala [Fri, 17 Jan 2014 14:07:53 +0000 (15:07 +0100)]
Fix create_for_owner! in micro specs

4 years agoFix typo in committerships controller
Pawel Pierzchala [Fri, 17 Jan 2014 13:55:00 +0000 (14:55 +0100)]
Fix typo in committerships controller

4 years agoUse repository committerships in TransferProjectOwnershipCommand
Pawel Pierzchala [Fri, 17 Jan 2014 13:53:52 +0000 (14:53 +0100)]
Use repository committerships in TransferProjectOwnershipCommand

4 years agoUse RepositoryCommitterships in Repository
Pawel Pierzchala [Fri, 17 Jan 2014 13:41:10 +0000 (14:41 +0100)]
Use RepositoryCommitterships in Repository

4 years agoIntroduce GroupCommitterships
Pawel Pierzchala [Fri, 17 Jan 2014 13:17:53 +0000 (14:17 +0100)]
Introduce GroupCommitterships

4 years agoIntroduce RepositoryCommitterships in CommittershipsController
Pawel Pierzchala [Fri, 17 Jan 2014 12:50:34 +0000 (13:50 +0100)]
Introduce RepositoryCommitterships in CommittershipsController

4 years agoFix new repo form when LDAP groups are enabled
Marcin Kulik [Fri, 17 Jan 2014 10:26:05 +0000 (11:26 +0100)]
Fix new repo form when LDAP groups are enabled

4 years agoUse correct group implementation name for project owner
Marcin Kulik [Fri, 17 Jan 2014 10:15:56 +0000 (11:15 +0100)]
Use correct group implementation name for project owner

4 years agoRemove commas from name before formating display name for email address
Pawel Pierzchala [Thu, 16 Jan 2014 10:17:26 +0000 (11:17 +0100)]
Remove commas from name before formating display name for email address

4 years agoAdd option to enable ldap group members listing on the team pages
Marcin Kulik [Tue, 14 Jan 2014 11:43:24 +0000 (12:43 +0100)]
Add option to enable ldap group members listing on the team pages

4 years agoUse class method to avoid rails template loading in Mailer. Closes #421.
Pawel Pierzchala [Fri, 10 Jan 2014 13:48:44 +0000 (14:48 +0100)]
Use class method to avoid rails template loading in Mailer. Closes #421.

4 years agoAllow ldap group search without authenticated bind
Marcin Kulik [Thu, 9 Jan 2014 15:00:25 +0000 (16:00 +0100)]
Allow ldap group search without authenticated bind

4 years agoRemove shadowed definition of LdapGroup#members
Marcin Kulik [Thu, 9 Jan 2014 11:54:50 +0000 (12:54 +0100)]
Remove shadowed definition of LdapGroup#members

4 years agoReformat long lines
Marcin Kulik [Thu, 9 Jan 2014 11:44:07 +0000 (12:44 +0100)]
Reformat long lines

4 years agoUpdate ci/build script
Pawel Pierzchala [Thu, 9 Jan 2014 14:57:53 +0000 (15:57 +0100)]
Update ci/build script

4 years agoUse stub.rake in ci/build
Pawel Pierzchala [Thu, 9 Jan 2014 14:35:01 +0000 (15:35 +0100)]
Use stub.rake in ci/build

4 years agoMerge commit 'refs/merge-requests/255' of git://gitorious.org/gitorious/mainline...
Pawel Pierzchala [Thu, 9 Jan 2014 14:32:55 +0000 (15:32 +0100)]
Merge commit 'refs/merge-requests/255' of git://gitorious.org/gitorious/mainline into merge-requests/255

4 years agoMove CI related tasks to ci/stub.rake
Pawel Pierzchala [Thu, 9 Jan 2014 14:32:13 +0000 (15:32 +0100)]
Move CI related tasks to ci/stub.rake

4 years agoUpdate libdolt
Pawel Pierzchala [Thu, 9 Jan 2014 13:51:31 +0000 (14:51 +0100)]
Update libdolt

4 years agoAdd working repo with xss in comments
Pawel Pierzchala [Thu, 9 Jan 2014 11:56:20 +0000 (12:56 +0100)]
Add working repo with xss in comments

4 years agoUp UI build
Marcin Kulik [Tue, 7 Jan 2014 14:48:14 +0000 (15:48 +0100)]
Up UI build

4 years agoAdd ssh key management to admin panel
Marcin Kulik [Tue, 7 Jan 2014 14:47:56 +0000 (15:47 +0100)]
Add ssh key management to admin panel

4 years agoadd ci_build script 255
Ken Dreyer [Sat, 4 Jan 2014 04:43:42 +0000 (21:43 -0700)]
add ci_build script

This code was previously stored in Jenkins' database. Move it to a shell
script that we can track in Git.

4 years agoEscape body in commit events
Pawel Pierzchala [Fri, 3 Jan 2014 14:02:25 +0000 (15:02 +0100)]
Escape body in commit events

4 years agoEscape messages in commit log
Pawel Pierzchala [Fri, 3 Jan 2014 13:52:32 +0000 (14:52 +0100)]
Escape messages in commit log

4 years agoDon't escape twice in message presenter
Pawel Pierzchala [Fri, 3 Jan 2014 13:48:30 +0000 (14:48 +0100)]
Don't escape twice in message presenter

4 years agoRequire files needed for snapshoting
Pawel Pierzchala [Thu, 2 Jan 2014 14:40:52 +0000 (15:40 +0100)]
Require files needed for snapshoting

4 years agoUpgrade libdolt/makeup
Pawel Pierzchala [Thu, 2 Jan 2014 12:43:41 +0000 (13:43 +0100)]
Upgrade libdolt/makeup

4 years agoMake event notifications async
Pawel Pierzchala [Thu, 2 Jan 2014 12:00:15 +0000 (13:00 +0100)]
Make event notifications async

4 years agoExtract service for sending email event notifications
Adam Pohorecki [Mon, 30 Dec 2013 12:38:57 +0000 (13:38 +0100)]
Extract service for sending email event notifications

4 years agoUse direct path to add key page in the sign up confirmation email
Marcin Kulik [Mon, 30 Dec 2013 16:55:50 +0000 (17:55 +0100)]
Use direct path to add key page in the sign up confirmation email

4 years agoFix message and link in initial commit
Pawel Pierzchala [Fri, 27 Dec 2013 13:34:10 +0000 (14:34 +0100)]
Fix message and link in initial commit

4 years agoAdd query for repository members
Pawel Pierzchala [Fri, 27 Dec 2013 11:08:39 +0000 (12:08 +0100)]
Add query for repository members

4 years agoFix create merge request comment test
Pawel Pierzchala [Fri, 27 Dec 2013 10:01:52 +0000 (11:01 +0100)]
Fix create merge request comment test

4 years agoTest integration between MergeRequest and SendMessage with an isolated test
Pawel Pierzchala [Thu, 26 Dec 2013 17:42:29 +0000 (18:42 +0100)]
Test integration between MergeRequest and SendMessage with an isolated test

4 years agoRequire sender when buildin a reply
Pawel Pierzchala [Thu, 26 Dec 2013 17:20:05 +0000 (18:20 +0100)]
Require sender when buildin a reply

4 years agoRemove dead mailer code
Pawel Pierzchala [Thu, 26 Dec 2013 16:55:13 +0000 (17:55 +0100)]
Remove dead mailer code

4 years agoRemove dead code from Message
Pawel Pierzchala [Thu, 26 Dec 2013 16:25:27 +0000 (17:25 +0100)]
Remove dead code from Message

4 years agoMove Message presentation logic to MessagePresenter
Pawel Pierzchala [Thu, 26 Dec 2013 16:21:28 +0000 (17:21 +0100)]
Move Message presentation logic to MessagePresenter

4 years agoUse styled unread messages
Pawel Pierzchala [Thu, 26 Dec 2013 14:06:42 +0000 (15:06 +0100)]
Use styled unread messages

4 years agoMove User#unread_message_count to presenter
Pawel Pierzchala [Thu, 26 Dec 2013 11:37:42 +0000 (12:37 +0100)]
Move User#unread_message_count to presenter

4 years agoRemove dead association from User (sent_messages)
Pawel Pierzchala [Thu, 26 Dec 2013 11:21:11 +0000 (12:21 +0100)]
Remove dead association from User (sent_messages)

4 years agoRename Messages's archived_by to mark_as_archived_by_user
Pawel Pierzchala [Tue, 24 Dec 2013 14:10:13 +0000 (15:10 +0100)]
Rename Messages's archived_by to mark_as_archived_by_user

4 years agoMove Message#archived_by_recipient to MessagesRecipients#archive
Pawel Pierzchala [Tue, 24 Dec 2013 13:57:28 +0000 (14:57 +0100)]
Move Message#archived_by_recipient to MessagesRecipients#archive

4 years agoReplace Message#read with Message#mark_read_by_user
Adam Pohorecki [Mon, 23 Dec 2013 16:12:44 +0000 (17:12 +0100)]
Replace Message#read with Message#mark_read_by_user

4 years agoSanitize javascripts in all markdowns
Adam Pohorecki [Mon, 23 Dec 2013 14:44:09 +0000 (15:44 +0100)]
Sanitize javascripts in all markdowns

4 years agoUpdate libdolt
Adam Pohorecki [Mon, 23 Dec 2013 14:09:10 +0000 (15:09 +0100)]
Update libdolt

4 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

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

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

4 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.