summaryrefslogtreecommitdiffstats
path: root/models/branches.go
Commit message (Collapse)AuthorAgeFilesLines
* Add branch overiew page (#2108)Bwko2017-10-261-0/+107
| | | | | | | | * Add branch overiew page * fix changed method name on sub menu * remove unused code
* Replace deprecated Id method with ID (#2655)Ethan Koenig2017-10-051-1/+1
|
* Fix can_push value to false in protected_branch (#2560)Lauris BH2017-09-201-0/+1
|
* improve protected branch to add whitelist support (#2451)Lunny Xiao2017-09-141-80/+112
| | | | | | | | | | | | | | | | | | | | * improve protected branch to add whitelist support * fix lint * fix style check * fix tests * fix description on UI and import * fix test * bug fixed * fix tests and languages * move isSliceInt64Eq to util pkg; improve function names & typo
* Use created & updated instead BeforeInsert & BeforeUpdate (#2482)Lunny Xiao2017-09-131-13/+2
| | | | | | | | | | | | * use created & updated instead BeforeInsert & BeforeUpdate * fix vendor checksum * only show generated SQL when development mode * remove extra update column updated_unix * remove trace config
* Refactor session close as xorm already does everything needed internally (#2020)Lauris BH2017-06-211-3/+3
|
* Do not allow commiting to protected branch from online editor (#1502)Lauris BH2017-05-021-0/+17
| | | | | | * Do not allow commiting to protected branch from online editor * Add editor integration tests for adding new file and not allowing to add new file to protected branch
* Fix typos in models/ and modules/ (#1248)Ethan Koenig2017-03-151-1/+1
|
* Remove unused vars (#1063)Lunny Xiao2017-02-271-6/+1
| | | | | | * remove unused vars * remove unused comment
* Protected branches system (#339)Denis Denisov2017-02-211-0/+161
* Protected branches system * Moved default branch to branches section (`:org/:reponame/settings/branches`). * Initial support Protected Branch. - Admin does not restrict - Owner not to limit - To write permission restrictions * reformat tmpl * finished the UI and add/delete protected branch response * remove unused comment * indent all the template files and remove ru translations since we use crowdin * fix the push bug