summaryrefslogtreecommitdiffstats
path: root/data
Commit message (Collapse)AuthorAgeFilesLines
* Do not exit(0) if everything is fine from the pre-receive hookJohan Sørensen2009-07-271-2/+3
| | | | We may be fed even more refs so just let it run and exit cleanly when done.
* Deletion of merge requests in Git should be allowed for local connections.Marius Mathiesen2009-07-162-1/+5
| | | | | Also added support for deleting the merge request ref in the target repository. This will be done before the merge request is deleted.
* Prevent deletion of merge-request refsJohan Sørensen2009-07-152-6/+24
|
* Force pushes are ok for merge-request updatesJohan Sørensen2009-07-131-1/+6
|
* Move the pre-receive force-push/delete-ref checking into the #allow_push? ↵Johan Sørensen2009-07-131-19/+20
| | | | conditional
* Be able to turn on denying of delete-refs and non-fast-forwardsJohan Sørensen2009-07-102-15/+41
| | | | | This adds a deny_force_pushing? to Repository and makes the pre-receive hook acts accordingly to that setting
* Handle ECONNREFUSED gracefully when querying for push permissionsJohan Sørensen2009-06-291-11/+16
|
* make sure we log to an existing log dir when there's no BASE_PATH in the ↵Johan Sørensen2009-06-291-2/+5
| | | | pre-receive hook
* Log what's happening from the PreReceiveGuardJohan Sørensen2009-06-292-1/+10
|
* Print out more easily identifyable error messages if pushing failsJohan Sørensen2009-06-292-2/+10
|
* Render a waiting message when viewing a merge request without a backend branch.Marius Mathiesen2009-06-241-0/+1
| | | | | | - Giving MergeRequest a ready? method for determining whether the backend branch has been created or not - Setting refresh header&use render_if_ready
* Allow local pushes to refs/merge-requestsMarius Mathiesen2009-06-242-4/+10
| | | | | - For local connections (without SSH; no SSH_ORIGINAL_COMMAND environment var) we'll allow pushes to the branch
* Moved the authentication logic from SSH Client to pre-receive:Marius Mathiesen2009-06-242-1/+79
| | | | | | | | | | - script/gitorious only checks whether the repo exists, and sets an environment var for the URL for auth checking - hooks/pre-receive performs the access control, as before Currently, users should be allowed to push normally, like before. In addition to that, owners of merge requests are allowed to push to the special ref for the merge request in the target repository
* Make the post-receive messaging compatible with the "old-style paths"Johan Sørensen2009-05-091-1/+4
|
* The post receive hook now supports overriding the hostname/ip and port for ↵Marius Mathiesen2009-05-081-1/+11
| | | | | | | | the Stomp MQ server: - stomp_server_address is the hostname of the server to receive messages - stomp_server_port is the port number RAILS_ENV=production is assumed, and defaults are provided ("localhost" and 61613, respectively)
* Make sure we submit the correct hashed path to the PushEventProcessorJohan Sørensen2009-04-291-1/+1
|
* Updated GeoIP database fileJohan Sørensen2009-04-221-0/+0
|
* Add sample EULA license for production environmentTor Arne Vestbø2009-04-221-0/+1
|
* Adding a dedicated file for each env removed the need for quite a bit of mockingMarius Mathiesen2009-04-221-0/+1
|
* Adding before_filter that requires the user to accept the current EULAMarius Mathiesen2009-04-221-1/+1
|
* The license file should depend on the current Rails.envMarius Mathiesen2009-04-221-0/+1
| | | | Adding a controller for accepting the current EULA
* Adding missing template for MergeRequests#editMarius Mathiesen2009-04-221-1/+2
|
* Special handling of creation/deletion of tags.Marius Mathiesen2009-04-222-128/+34
| | | | No longer require grit in the post-receive hook
* Event processing kind of working, will start refactoringMarius Mathiesen2009-04-221-1/+1
|
* Working on porting the post commit hook to MQ modelMarius Mathiesen2009-04-222-124/+150
|
* Make the post-receive hook understand the new committers modelJohan Sørensen2009-04-222-1/+3
|
* data/hooks: use the dashless form of git commands for 1.6.xDavid Aguilar2008-12-294-13/+13
| | | | Signed-off-by: David Aguilar <davvid@gmail.com>
* Only save commit events for repository committersDavid A. Cuadrado2008-05-191-23/+5
| | | | | | | | | | This commmit should avoid events like: johan committed 5e61707e to gitorious/patcitos-clone-latest since johan is not actually a committer of gitorious/patcitos-clone-latest Signed-off-by: David A. Cuadrado <krawek@gmail.com>
* Use only the master"s commits to create eventsDavid A. Cuadrado2008-05-011-7/+12
| | | | Signed-off-by: David A. Cuadrado <krawek@gmail.com>
* use the commit dateDavid A. Cuadrado2008-05-011-3/+3
| | | | Signed-off-by: David A. Cuadrado <krawek@gmail.com>
* keep all commit events on git-pushDavid A. Cuadrado2008-05-011-67/+85
| | | | Signed-off-by: David A. Cuadrado <krawek@gmail.com>
* "Trees" context link renamed to "source tree" under repositoriesJohan Sørensen2008-05-011-1/+1
|
* Print less from *-receive hooksJohan Sørensen2008-04-283-4/+3
|
* Added sidebar, start on repository tree and add a rebuild_events scriptJohan Sørensen2008-04-251-1/+2
|
* Moved events to be primarily pivoting around the project.Johan Sørensen2008-04-211-3/+4
|
* events.date => events.created_at and other Event related fixesJohan Sørensen2008-04-201-0/+1
|
* Merge commit 'krawek/events' into project-eventsJohan Sørensen2008-04-1913-0/+519
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'krawek/events': Fixed spec Removed actions from the database refactoring to use polymorphic associations (USER does ACTION on X) warn if the email does not match Renamed migrates: actions and events optimizations Performance improvements hooks: enable post-updateand added pre-receive Handle create and delete tag Fixed event: delete branch Script to setup the hooks Added avatar to events Implemented user event system Clone projects using gitorious hooks Load rails environment Create projects using gitorious hooks Added git template for new repositories Conflicts: app/models/project.rb app/models/repository.rb config/routes.rb
| * Removed actions from the databaseDavid A. Cuadrado2008-04-161-11/+11
| | | | | | | | Signed-off-by: David A. Cuadrado <krawek@gmail.com>
| * refactoring to use polymorphic associations (USER does ACTION on X)David A. Cuadrado2008-04-071-2/+1
| | | | | | | | Signed-off-by: David A. Cuadrado <krawek@gmail.com>
| * warn if the email does not matchDavid A. Cuadrado2008-04-041-1/+4
| |
| * hooks: enable post-updateand added pre-receiveDavid A. Cuadrado2008-03-202-0/+4
| |
| * Handle create and delete tagDavid A. Cuadrado2008-03-201-9/+15
| |
| * Fixed event: delete branchDavid A. Cuadrado2008-03-201-0/+3
| |
| * Implemented user event systemDavid A. Cuadrado2008-03-201-2/+56
| |
| * Load rails environmentDavid A. Cuadrado2008-03-203-81/+16
| |
| * Create projects using gitorious hooksDavid A. Cuadrado2008-03-2010-0/+0
| |
| * Added git template for new repositoriesDavid A. Cuadrado2008-03-2012-0/+515
|
* count how many times a repository has been cloned from ip/countryDavid A. Cuadrado2008-04-141-0/+0
Signed-off-by: David A. Cuadrado <krawek@gmail.com>