Commit Graph

4 Commits (5554165a0c5da0a62165d9c429839f4a56b01af7)

Author SHA1 Message Date
Lauris BH 0144817971 Do not allow commiting to protected branch from online editor ()
* 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
Ethan Koenig 021904e4e6 Fix typos in models/ and modules/ ()
Lunny Xiao e4134debd1 Remove unused vars ()
* remove unused vars

* remove unused comment
Denis Denisov fd941db246 Protected branches system ()
* 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