summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Conditionally hide the propose patchset instructionsJames Moger2014-03-071-9/+16
| | | | | | | | There are a few scenarios where a ticket without a patchset should not display propose instructions. 1. the ticket is resolved 2. the repository is configured to reject new patchsets or is read-only 3. the server is configured to reject new patchsets
* Fix NPE in the Edit Ticket pageJames Moger2014-03-071-2/+3
|
* DocumentationJames Moger2014-03-073-2/+9
|
* Do not send ticket emails to disabled usersJames Moger2014-03-071-2/+2
|
* fix some Chinese translations due to some special characters.Stardrad Yin2014-03-071-8/+8
|
* DocumentationJames Moger2014-03-062-7/+9
|
* Do not use @Inject on the ticket service constructorsJames Moger2014-03-065-13/+35
|
* Exclude title, body, and status fields from initial proposal emailJames Moger2014-03-061-0/+3
|
* Documentation and clarify git workflowsJames Moger2014-03-065-35/+58
|
* Allow resolve for proposal workflowsJames Moger2014-03-061-1/+1
|
* Fixed bug in merge: improper use of force and failing on FORCED resultJames Moger2014-03-061-5/+5
|
* Updated the Dutch translation for 1.4.0Jeroen Baten2014-03-062-503/+717
|
* Merged #22 "Tie mirroring, pushing, and the BranchTicketService together"James Moger2014-03-0613-14/+384
|\
| * Document ticket replication, mirroring, and advanced administrationJames Moger2014-03-061-0/+135
| |
| * Improve the GO reindex-tickets shell scriptsJames Moger2014-03-062-4/+22
| |
| * Add and document REINDEX_TICKETS rpc request typeJames Moger2014-03-064-2/+48
| |
| * Revise push/mirror tickets branch triggeringJames Moger2014-03-066-31/+147
| |
| * Fire an event on received ticket branch updates to trigger reindexJames Moger2014-03-054-5/+60
| | | | | | | | | | | | | | | | It would be useful to be able to push a complete repository with a refs/gitblit/tickets branch and have Gitblit index all those tickets. Additionally, it would be nice for the mirroring service to recognize an incoming update to this ref and fire an event that can be processed by the BranchTicketService, if so configured, to reindex the tickets.
* | Merge pull request #148 from yin8086/ChineseTransJames Moger2014-03-061-98/+105
|\ \ | | | | | | Add and fix Chinese translations
| * | Add Chinese translations for new strings, and fix translations based on ↵Stardrad Yin2014-03-061-98/+105
| |/ | | | | | | online page views of dev.gitblit.com
* | Merge pull request #149 from ds5apn/masterJames Moger2014-03-061-27/+27
|\ \ | |/ |/| fixed some Korean translations
| * correct some translationsDongsu, KIM2014-03-061-27/+27
| |
* | Translation esES updatedmrbytes2014-03-051-6/+161
| | | | | | | | | | | | - Ready for the 1.4.0 release plus a few Fixes Signed-off-by: mrbytes <eguervos@msn.com>
* | Add setting to hide the navbar for those embedding GitblitJames Moger2014-03-053-0/+18
| |
* | Centralized ticket editing permission controlsJames Moger2014-03-054-87/+92
| |
* | Delegate closed ticket changes to the Edit Ticket pageJames Moger2014-03-052-138/+160
| |
* | Allow unregistered milestone selection on edit ticket pageJames Moger2014-03-051-0/+7
| |
* | Allow changing status from edit ticket pageJames Moger2014-03-053-1/+27
| |
* | New proposal notifications should include the patchset detailsJames Moger2014-03-051-47/+42
| |
* | Allow integration (mergeTo) branch to be changed in edit ticketJames Moger2014-03-052-1/+34
| |
* | Localize the ticket activity tab field name changesJames Moger2014-03-052-2/+13
| |
* | Merge pull request #145 from yin8086/ChineseTransJames Moger2014-03-051-1/+8
|\ \ | | | | | | Fix Chinese translate strings
| * | Fix Chinese translate stringsStardrad Yin2014-03-051-1/+8
| | |
* | | Merge pull request #144 from ds5apn/masterJames Moger2014-03-051-482/+629
|\ \ \ | |/ / |/| / | |/ Update Korean Translation for Gitblit 1.4.0
| * Update Korean Translation for Gitblit 1.4.0Dongsu, KIM2014-03-051-482/+629
| |
* | Restart the response on the empty page if the repository has no commitsJames Moger2014-03-051-1/+2
| |
* | Remove Dagger injector from the servlet context instead of nulling itJames Moger2014-03-051-1/+1
| |
* | Externalize some additional stringsJames Moger2014-03-054-9/+14
| |
* | Prevent <nil> from being stored as a milestoneJames Moger2014-03-051-1/+1
| |
* | Implement user "disabled" flag as an alternative to deleting the accountJames Moger2014-03-0412-17/+137
| |
* | Simplified propose instructions for an existing ticketJames Moger2014-03-041-2/+2
| |
* | Process bugtraq configuration in markup document renderingJames Moger2014-03-048-17/+35
| |
* | DocumentationJames Moger2014-03-044-41/+55
| |
* | Add Chinese translation for 1.4.0Stardrad Yin2014-03-041-2/+149
|/
* DocumentationJames Moger2014-03-032-3/+4
|
* Lower opacity for merge commit short messages in the log panelJames Moger2014-03-032-3/+12
|
* Fix reflog parsing bug of null compare links on branch creationJames Moger2014-03-031-2/+0
|
* Fix pt push regression due to eliminating --patchset argumentJames Moger2014-03-031-10/+1
|
* Ticket tracker with patchset contributionsJames Moger2014-03-0383-691/+16298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A basic issue tracker styled as a hybrid of GitHub and BitBucket issues. You may attach commits to an existing ticket or you can push a single commit to create a *proposal* ticket. Tickets keep track of patchsets (one or more commits) and allow patchset rewriting (rebase, amend, squash) by detecing the non-fast-forward update and assigning a new patchset number to the new commits. Ticket tracker -------------- The ticket tracker stores tickets as an append-only journal of changes. The journals are deserialized and a ticket is built by applying the journal entries. Tickets are indexed using Apache Lucene and all queries and searches are executed against this Lucene index. There is one trade-off to this persistence design: user attributions are non-relational. What does that mean? Each journal entry stores the username of the author. If the username changes in the user service, the journal entry will not reflect that change because the values are hard-coded. Here are a few reasons/justifications for this design choice: 1. commit identifications (author, committer, tagger) are non-relational 2. maintains the KISS principle 3. your favorite text editor can still be your administration tool Persistence Choices ------------------- **FileTicketService**: stores journals on the filesystem **BranchTicketService**: stores journals on an orphan branch **RedisTicketService**: stores journals in a Redis key-value datastore It should be relatively straight-forward to develop other backends (MongoDB, etc) as long as the journal design is preserved. Pushing Commits --------------- Each push to a ticket is identified as a patchset revision. A patchset revision may add commits to the patchset (fast-forward) OR a patchset revision may rewrite history (rebase, squash, rebase+squash, or amend). Patchset authors should not be afraid to polish, revise, and rewrite their code before merging into the proposed branch. Gitblit will create one ref for each patchset. These refs are updated for fast-forward pushes or created for rewrites. They are formatted as `refs/tickets/{shard}/{id}/{patchset}`. The *shard* is the last two digits of the id. If the id < 10, prefix a 0. The *shard* is always two digits long. The shard's purpose is to ensure Gitblit doesn't exceed any filesystem directory limits for file creation. **Creating a Proposal Ticket** You may create a new change proposal ticket just by pushing a **single commit** to `refs/for/{branch}` where branch is the proposed integration branch OR `refs/for/new` or `refs/for/default` which both will use the default repository branch. git push origin HEAD:refs/for/new **Updating a Patchset** The safe way to update an existing patchset is to push to the patchset ref. git push origin HEAD:refs/heads/ticket/{id} This ensures you do not accidentally create a new patchset in the event that the patchset was updated after you last pulled. The not-so-safe way to update an existing patchset is to push using the magic ref. git push origin HEAD:refs/for/{id} This push ref will update an exisitng patchset OR create a new patchset if the update is non-fast-forward. **Rebasing, Squashing, Amending** Gitblit makes rebasing, squashing, and amending patchsets easy. Normally, pushing a non-fast-forward update would require rewind (RW+) repository permissions. Gitblit provides a magic ref which will allow ticket participants to rewrite a ticket patchset as long as the ticket is open. git push origin HEAD:refs/for/{id} Pushing changes to this ref allows the patchset authors to rebase, squash, or amend the patchset commits without requiring client-side use of the *--force* flag on push AND without requiring RW+ permission to the repository. Since each patchset is tracked with a ref it is easy to recover from accidental non-fast-forward updates. Features -------- - Ticket tracker with status changes and responsible assignments - Patchset revision scoring mechanism - Update/Rewrite patchset handling - Close-on-push detection - Server-side Merge button for simple merges - Comments with Markdown syntax support - Rich mail notifications - Voting - Mentions - Watch lists - Querying - Searches - Partial miletones support - Multiple backend options
* Eliminate Gravatar profile linking and improve apiJames Moger2014-03-039-120/+17
|