summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/panels
Commit message (Collapse)AuthorAgeFilesLines
* Do not serialize Loggerticket/114James Moger2014-06-272-5/+12
|
* Fix substring regression in repository name panelJames Moger2014-06-091-1/+2
|
* Use separate project and name field models in the RepositoryNamePanelJames Moger2014-06-091-39/+34
|
* Use AJAX to manage the SSH keys panelJames Moger2014-06-051-19/+27
|
* Add a basic SSH public key management UIJames Moger2014-06-054-0/+281
|
* Revise the user profile page and add a preferences formJames Moger2014-06-045-5/+5
|
* Rename option classesJames Moger2014-06-046-8/+8
|
* Hide allow forks control if forking is disabledJames Moger2014-06-032-4/+14
|
* Extract re-usable conditional choice option panelJames Moger2014-06-032-0/+97
|
* Hide empty option descriptionsJames Moger2014-06-033-5/+7
|
* Use alignment from option panels un AccessPolicyPanelJames Moger2014-06-031-7/+3
|
* Extract re-usable checkbox, choice, and text option panelsJames Moger2014-06-039-21/+215
|
* Overhaul EditRepositoryPage for layout and usabilityJames Moger2014-06-033-12/+45
|
* Use AccessPolicyPanel in EditRepositoryPageJames Moger2014-06-031-3/+14
|
* Use RepositoryNamePanel in EditRepositoryPage, rename AccessPolicyPanelJames Moger2014-06-034-62/+105
|
* Extract repository name panel for re-useJames Moger2014-06-033-1/+167
|
* Extract authorization/access selection panel to re-usable classJames Moger2014-06-032-0/+196
|
* Simplified repository creation with a NewRepositoryPageJames Moger2014-06-032-5/+3
|
* Do not directly link to the EmptyRepositoryPageJames Moger2014-05-231-10/+1
|
* Correct usage of bugtraq processorJames Moger2014-05-221-1/+1
|
* Remove the edit link and the rss feed link from the repositories panelJames Moger2014-05-152-90/+4
|
* Move delete repository function into the edit pageJames Moger2014-05-094-109/+3
|
* Added option to disable deleting of non empty repositories through the user ↵peto2682014-05-082-13/+45
| | | | interface
* Consolidate open tickets page parametersJames Moger2014-05-071-5/+1
|
* Allow plugins to extend the top navbar and repository navbarJames Moger2014-05-052-25/+69
| | | | | This change also ties the plugin manager into the Wicket framework and allows plugins to contribute and mount new pages which are linked by the top navbar and repository navbar extensions.
* Integrate admin menu into user menu and add user menu extensionJames Moger2014-05-051-3/+10
|
* Overhaul menu item classes and add AdminMenuExtension pointJames Moger2014-05-051-8/+25
|
* Add raw links to branchesJames Moger2014-05-053-3/+12
|
* Replace RawPage with RawServletJames Moger2014-05-051-4/+7
|
* Change My Tickets repository link to the repository tickets pageJames Moger2014-05-022-5/+8
|
* Refactored common code out of My Tickets and TicketsJames Moger2014-05-015-0/+424
|
* [findbugs] Change scope of variable in HistoryPanelJames Moger2014-04-171-3/+1
|
* [findbugs] Remove pointless field assignmentJames Moger2014-04-171-1/+0
|
* Organize importsJames Moger2014-04-171-1/+1
|
* Improve Sparkleshare integration, but leave disabled for nowJames Moger2014-04-101-5/+5
|
* Improve isServingRepositories checkJames Moger2014-04-101-1/+1
|
* Set tooltip for truncated tag and branch messagesJames Moger2014-03-133-5/+18
|
* Move Gitblit branches to refs/meta/gitblitJames Moger2014-03-081-3/+3
|
* Implement user "disabled" flag as an alternative to deleting the accountJames Moger2014-03-041-3/+4
|
* Lower opacity for merge commit short messages in the log panelJames Moger2014-03-031-2/+3
|
* Ticket tracker with patchset contributionsJames Moger2014-03-038-651/+956
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-035-30/+16
|
* Reduce use of final to avoid Wicket serialization issues in reflogsJames Moger2014-03-032-16/+15
|
* Fixed rounded timestamps of reflogsJames Moger2014-03-032-9/+2
|
* Add an ajax text link and an icon ajax linkJames Moger2014-03-013-0/+98
|
* Gracefully recover history page from failure to find specified commitJames Moger2014-03-011-33/+48
|
* Exclude commit id from all author search linksJames Moger2014-02-283-3/+3
|
* Fix author search links from compare pagesJames Moger2014-02-281-1/+1
|
* Show mirror indicator on repository url panelJames Moger2013-12-111-1/+4
| | | | Change-Id: I5eb66500cc1ed47f97d4935d42ea4c3ca4cdba14
* Refactor user services and separate authentication (issue-281)James Moger2013-11-292-3/+2
| | | | Change-Id: I336e005e02623fc5e11a4f8b4408bea5465a43fd