summaryrefslogtreecommitdiffstats
path: root/templates/repo
Commit message (Collapse)AuthorAgeFilesLines
* Add possibility to record branch or tag information in an issue (#780)Zsombor2017-08-244-0/+48
|
* Moved vendored js/css into `public/vendor` and documented sources (#1484) ↵Michael Lustfield2017-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#2241) * Cleaning up public/ and documenting js/css libs. This commit mostly addresses #1484 by moving vendor'ed plugins into a vendor/ directory and documenting their upstream source and license in vendor/librejs.html. This also proves gitea is using only open source js/css libraries which helps toward reaching #1524. * Removing unused css file. The version of this file in use is located at: vendor/plugins/highlight/github.css * Cleaned up librejs.html and added javascript header A SafeJS function was added to templates/helper.go to allow keeping comments inside of javascript. A javascript comment was added in the header of templates/base/head.tmpl to mark all non-inline source as free. The librejs.html file was updated to meet the current librejs spec. I have now verified that the librejs plugin detects most of the scripts included in gitea and suspect the non-free detections are the result of a bug in the plugin. I believe this commit is enough to meet the C0.0 requirement of #1534. * Updating SafeJS function per lint suggestion * Added VERSIONS file, per request
* More tweaks to repo top panel (#2267)silverwind2017-08-132-20/+7
| | | | | | | | | | * More tweaks to repo top panel * undo hiding of compare button on master * attempt to fix ci issue * another ci attempt
* fix webhook linkLunny Xiao2017-08-112-2/+2
|
* File path tweaks in UI (#2264)silverwind2017-08-061-6/+6
|
* EnableUnit() -> UnitEnabled() (#2242)Ethan Koenig2017-08-022-17/+17
|
* Add task to generate images from SVG and change to new logo (#2194)Lauris BH2017-07-282-2/+2
| | | | | | * Add makefile task to generate images from SVG and change to new logo * use absolute path on generate-images
* Revert "Add ability to fork your own repos (#761)" (#2193)Bwko2017-07-261-1/+1
|
* Remove unit types commits and settings (#2161)Lauris BH2017-07-171-1/+1
| | | | | | | | | | * Remove unit types commits and settings * Can not limit units in administrator teams * Limit changing units only to teams with read and write access mode * Small code optimization
* Only show SSH clone URL if signed in (#2169) (#2170)Stefan Kalscheuer2017-07-153-13/+19
| | | | | | | | | | | | | | | | | | | * Add configuration flag SSH_EXPOSE_ANONYMOUS If this flag (default True) is set to false, the SSH clone URL will only be exposed if the current user is signed in. * Default SSH exposure set to false To match GitHub and for security reasons, SSH URL exposure is disabled by default. In addition to that. minor code changes have been applied. Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de> * Add integration tests * Hide clone button neither HTTP and SSH is enabled Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
* Make compare button URL aware if current repo is a fork (#2162) (#2163)Wiktor Żurawik2017-07-151-1/+1
| | | | | | | | | | * Make compare button URL aware if current repo is a fork (#2162) * Optimize code * To not change current behaviour check if signed in user has fork of base repository * Fix to check only if signed user has forked repo otherwise it will still redirect to wrong page
* Only show "No Description" to repo admins (#2167)bit2017-07-141-1/+1
| | | Only show note about missing description ("No Description") to repo admins, nobody else can change it.
* Missing signed commit display translation (#2134)Lauris BH2017-07-101-2/+2
|
* Fix wiki preview linksEthan Koenig2017-07-061-1/+1
|
* Smaller watch, star, and fork buttons (#2052)Patrick G2017-06-281-6/+6
|
* repo/editor: fix breadcrumb path cuts parent dirs (#3859) (#2032)Lunny Xiao2017-06-222-2/+2
|
* Fix search by issue type (#1914)Ethan Koenig2017-06-151-12/+14
| | | | * Fix search by issue type
* Fix diff of renamed and modified file (#1967)Ethan Koenig2017-06-141-1/+1
|
* Fix pull request compare link (#1832)Ethan Koenig2017-05-311-1/+1
| | | | | | * Fix pull request compare link * Integration test
* Add Gitea Webhook (#1755)Rémy Boulanouar2017-05-293-2/+36
| | | | | | | | * Replace Gogs by Gitea * Fix missing changes * Create Gitea webhook and put Gogs webhook apart.
* Show commit status icon in commits table (#1688)Lauris BH2017-05-071-0/+15
| | | | | | | | | | | | | | | | | | * Show commit status icon in commits table * Add comments * Fix icons * Few more places where commit table is displayed * Change integration test to use goquery for parsing html * Add integration tests for commit table and status icons * Fix status to return lates status correctly on all databases * Rewrote lates commit status selects
* Remove sha1 hash display in repository table and add latest commit GPG check ↵Lauris BH2017-05-051-3/+15
| | | | (#1678)
* Do not allow commiting to protected branch from online editor (#1502)Lauris BH2017-05-021-2/+2
| | | | | | * 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 bug on issue view when not login (#1624)Lunny Xiao2017-04-291-0/+2
| | | | | | | | | | * fix bug on issue view when not login * hide issue watch when not login * update the tests * fix test on issue
* Do not show empty collaborators segment (#1531)Morlinest2017-04-231-0/+2
|
* Mirror sync interval specified as duration string (#1407)Jonas2017-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Sync interval specifed as duration string * Changed mirror interval text * make fmt * Add MinInterval for mirror sync * Use duration internally * Changed min default to 10m * make fmt * Incorrect default * Removed defaults in MustDuration() * Add Mirror interval migration * Default values corrected * Use transaction during migration * Change http 500 to page with error message * Cleanup session.commit()
* Fix #1418 (#1456)Antoine GIRARD2017-04-073-6/+6
|
* Fix and simplify repo branches UI (#1435)Morlinest2017-04-061-24/+20
|
* Commit search appearence fixes (#1254)Patrick G2017-04-051-1/+5
| | | | | | * Fix button text to be consisstent with rest of UI * Make all commits checkbox look nicer
* Fix disabled fields in repo settings UI (#1431)Morlinest2017-04-031-4/+6
|
* Merge pull request #1410 from andreynering/notification/issue-watchAndrey Nering2017-04-011-0/+21
|\ | | | | [Notifications Step 6] Per issue/PR watch/unwatch
| * UI and translation improvementsAndrey Nering2017-03-301-4/+4
| |
| * Add octicons to watch/unwatch buttonsAndrey Nering2017-03-291-0/+2
| |
| * Add watch button on issueAndrey Nering2017-03-291-0/+19
| |
* | Merge pull request #1390 from Morlinest/commit-graph-UIAndrey Nering2017-03-301-3/+1
|\ \ | | | | | | Use whole button (commit graph) as link
| * | Use whole button as linkPeter Žeby2017-03-271-3/+1
| |/
* | Make issue in commit graph "clickable" (#1392)Morlinest2017-03-301-1/+1
| |
* | Simplify settings pages with item list (#1389)Antoine GIRARD2017-03-301-20/+15
|/ | | | | | | | | | * Remove point column on ssh key setting page * Remove un-used css * Some cleaning * Use octicon-key
* Minor improvements on commit graph UI (#1380)Andrey Nering2017-03-242-2/+3
| | | | | | * Make "Commit Graph" link a button and translate it * Add title on Commit Graph page
* GPG commit validation (#1150)Antoine GIRARD2017-03-222-5/+33
| | | | | | | | | | | | * GPG commit validation * Add translation + some little fix * Move hash calc after retrieving of potential key + missing translation * Add some little test
* feat: Only use issue and wiki on repo. (#1297)Bo-Yi Wu2017-03-182-7/+8
|
* Refactor repo/issue/view_content.tmpl (#1276)Kim "BKC" Carlbäcker2017-03-174-310/+312
|
* Add notice that LFS mirroring is not supported (#1251)Fabian Zaremba2017-03-161-1/+4
| | | | | | * Add notice that LFS mirroring is not supported * Drop German translation
* Cleaner ui for admin, repo settings, and user settings page (#1269) (#1270)Patrick G2017-03-1511-524/+489
|
* Batch updates for issues (#926)Ethan Koenig2017-03-152-75/+139
|
* fix 500 caused by branches settings introduced by #1198 (#1214)Lunny Xiao2017-03-121-4/+4
|
* Make strings translatable (#1188) (#1198)Patrick G2017-03-111-7/+5
| | | | | | * Add strings to ini * Make strings translatable (#1188)
* Protected branches system (#339)Denis Denisov2017-02-214-24/+105
| | | | | | | | | | | | | | | | | | | | * 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
* Security: fix XSS attack on milestone (#976)Lunny Xiao2017-02-193-9/+9
| | | Reported by Miguel Ángel Jimeno.
* fix: fill in ssh key title on setting of repo (#950)Bo-Yi Wu2017-02-161-2/+2
| | | | | * fix: fill in ssh key title on setting of repo * fix: Don't overwrite ssh key title if exist.