summaryrefslogtreecommitdiffstats
path: root/templates/repo/header.tmpl
Commit message (Collapse)AuthorAgeFilesLines
...
* Move migrating repository from frontend to backend (#6200)Lunny Xiao2019-10-131-71/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move migrating to backend * add loading image when migrating and fix tests * fix format * fix lint * add redis task queue support and improve docs * add redis vendor * fix vet * add database migrations and fix app.ini sample * add comments for task section on app.ini.sample * Update models/migrations/v84.go Co-Authored-By: lunny <xiaolunwen@gmail.com> * Update models/repo.go Co-Authored-By: lunny <xiaolunwen@gmail.com> * move migrating to backend * add loading image when migrating and fix tests * fix fmt * add redis task queue support and improve docs * fix fixtures * fix fixtures * fix duplicate function on index.js * fix tests * rename repository statuses * check if repository is being create when SSH request * fix lint * fix template * some improvements * fix template * unified migrate options * fix lint * fix loading page * refactor * When gitea restart, don't restart the running tasks because we may have servel gitea instances, that may break the migration * fix js * Update models/repo.go Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * fix tests * rename ErrTaskIsNotExist to ErrTaskDoesNotExist * delete release after add one on tests to make it run happy * fix tests * fix tests * improve codes * fix lint * fix lint * fix migrations
* Move mirror to a standalone package from models (#7486)Lunny Xiao2019-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move mirror to a standalone package * fix mirror address in template * fix tests * fix lint * fix comment * fix tests * fix tests * fix vendor * fix fmt * fix lint * remove wrong file submitted * fix conflict * remove unrelated changes * fix go mod * fix tests * clean go mod * make vendor work * make vendor work * fix tests * remove duplicated test
* [fix #7384] make show private icon when repo avatar set (#8144)jaqra2019-09-131-0/+1
|
* ui fixes - compare view and archieved repo issues (#7345)Cherrg2019-07-081-4/+2
| | | | | | | | | | | | | | | | * add 'repo archived - comment/pull not possible' message affects #7304 Signed-off-by: Michael Gnehr <michael@gnehr.de> * add navbar to compare view Signed-off-by: Michael Gnehr <michael@gnehr.de> * remove wrong if else Signed-off-by: Michael Gnehr <michael@gnehr.de>
* Repository avatars (#6986)Sergey Dryabzhinsky2019-05-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Repository avatars - first variant of code from old work for gogs - add migration 87 - add new option in app.ini - add en-US locale string - add new class in repository.less * Add changed index.css, remove unused template name * Update en-us doc about configuration options * Add comments to new functions, add new option to docker app.ini * Add comment for lint * Remove variable, not needed * Fix formatting * Update swagger api template * Check if avatar exists * Fix avatar link/path checks * Typo * TEXT column can't have a default value * Fixes: - remove old avatar file on upload - use ID in name of avatar file - users may upload same files - add simple tests * Fix fmt check * Generate PNG instead of "static" GIF * More informative comment * Fix error message * Update avatar upload checks: - add file size check - add new option - update config docs - add new string to en-us locale * Fixes: - use FileHEader field for check file size - add new test - upload big image * Fix formatting * Update comments * Update log message * Removed wrong style - not needed * Use Sync2 to migrate * Update repos list view - bigger avatar - fix html blocks alignment * A little adjust avatar size * Use small icons for explore/repo list * Use new cool avatar preparation func by @lafriks * Missing changes for new function * Remove unused import, move imports * Missed new option definition in app.ini Add file size check in user/profile avatar upload * Use smaller field length for Avatar * Use session to update repo DB data, update DeleteAvatar - use session too * Fix err variable definition * As suggested @lafriks - return as soon as possible, code readability
* Fix fork button (#6223)John Olheiser2019-03-051-1/+1
|
* Minor UI tweaks (#5980)John Olheiser2019-02-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove all CommitStatus when a repo is deleted Signed-off-by: jolheiser <john.olheiser@gmail.com> * Minor UI tweaks (#5782) Added 'No License' option Added link and octicon change for external issue trackers Reset password now notifies right away if the code is invalid Signed-off-by: jolheiser <john.olheiser@gmail.com> * More UI tweaks More info in PR * Generate stylesheet for arc-green * Make gofmt work * Change PR integration since the button is changed * Rebase * Generate stylesheet * UI updates Made the PR button a "basic" button Vertically centered the issue checkboxes Labels will update only once after modal is closed * Commit to reference related issues Resolves #5782 Resolves #5861 Addresses original question in #5993 * Change the comment wording since PR button is no longer little and green. * Revert changes that made Windows work * Regenerate stylesheet * Regenerate stylesheets * make generate-stylesheets * Update integration again, changed button style Signed-off-by: jolheiser <john.olheiser@gmail.com> * Added ID to PR button Changed integration to use the ID to avoid breaking in the future * Added missing semi-colons * Added back distinction between issue actions and filters (overlooked it before) Moved action button over next to other action dropdowns * Remove extra tab formatting in list.tmpl * Remove more formatting from GoLand * Replace hardcoded "No License" with i18n license helper.
* UI: Repo header tweaks (#5945)silverwind2019-02-051-19/+16
| | | | | | | | | | | | | | | | * UI: Repo header tweaks - Use basic buttons on the header buttons, matching gogs - Make 'Manage topic' text smaller, remove margin-left with no topics present - Move various inline styles to CSS - Use flexbox on header title and buttons * fix indentation * reverse media query wrapping * fix inconsisten whitespace
* UI: Better support for long repo names (#5932)silverwind2019-02-021-2/+2
| | | | | | * UI: Make long repo names wrap less often * also adjust news feed column widths
* Feature: Archive repos (#5009)kolaente2019-01-231-0/+1
|
* Refactor repo.isBare to repo.isEmpty #5629 (#5714)zeripath2019-01-171-3/+3
| | | | | | | | * Refactor repo.isBare to repo.isEmpty #5629 Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove Sync call
* allow user fork repo even when as a guest.. This will prompt the user to ↵Lanre Adelowo2019-01-101-1/+1
| | | | login and if authentication was successful, the user will be redirected to fork the repo (#5690)
* Restrict permission check on repositories and fix some problems (#5314)Lunny Xiao2018-11-281-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix units permission problems * fix some bugs and merge LoadUnits to repoAssignment * refactor permission struct and add some copyright heads * remove unused codes * fix routes units check * improve permission check * add unit tests for permission * fix typo * fix tests * fix some routes * fix api permission check * improve permission check * fix some permission check * fix tests * fix tests * improve some permission check * fix some permission check * refactor AccessLevel * fix bug * fix tests * fix tests * fix tests * fix AccessLevel * rename CanAccess * fix tests * fix comment * fix bug * add missing unit for test repos * fix bug * rename some functions * fix routes check
* Fix some issues with special chars in branch names (#3767)nubenum2018-09-171-1/+1
| | | Signed-off-by: Robin Durner <github@nubenum.de>
* Fix starring icon after semantic ui update (#4628)Lauris BH2018-08-071-1/+1
|
* Add `noreferrer` to rel='noopener` for <a> tags (#4328)cezar972018-07-031-3/+3
|
* Only show "You cannot fork a repository you own" when needed (#4130)Fluf2018-06-091-1/+1
|
* Fix code tab link when viewing tags (#3908)Ambrose Chua2018-05-071-1/+1
| | | Signed-off-by: Ambrose Chua <ambrose@chua.family>
* Fix for UI broke when a repo is starred & watched (#3630) (#3810)kolaente2018-04-191-2/+2
|
* Use the active branch for the code tab (#3720)Bwko2018-04-091-1/+1
|
* Templates for extra links in top navbar and repo tool tabs. (#3308)Alberto González Palomo2018-01-101-0/+2
| | | | | | | | | These templates add content to the top navbar and to the repository page. This way we do not have to copy and modify the whole template, and re-modify it after upgrading Gitea if it changes. Signed-off-by: Alberto González Palomo <bugs@sentido-labs.com>
* Make the space for repo actions wider on repo header (#3312)Morgan Bazalgette2018-01-061-2/+2
|
* Responsive view (#2750)Morgan Bazalgette2017-12-301-41/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Viewport meta tag * responsive: dashboard * responsive: issues page * responsive: Explore page * responsive: navbar, and some navbar css refactoring * responsive: button for collapsing navbar in mobile view * Mark the hamburger button as active when pressed * better homepage for responsive views * Bring back jump class in navbar The class was necessary, because this way the dropdown doesn't assume the contents of the selected item. * make repository homes responsive * Make file view page responsive * Make forms look good on responsive views * make commits and commit diff view responsive * issues and PRs * responsive wiki * Don't place auto-init far off the page * Minor changes to amend broken stuff minor improvements - make login/sign up in navbar stackable - make navbar in explore and sign in not stackable Change selected class in TestPullCompare Fix typo that happened when rebasing fix dashboard on org view improve profile UI Use clearing on file diff to fix broken UI caused by floating elements remove unresolved merge conflict, and | Sanitize Fix repo home not loading
* Open external tracker in blank window, consistently with wiki (#3227)Sandro Santilli2017-12-181-1/+1
| | | Closes #3216
* Add branch overiew page (#2108)Bwko2017-10-261-6/+0
| | | | | | | | * Add branch overiew page * fix changed method name on sub menu * remove unused code
* Fix so that user can still fork his own repository to owned organizations ↵Lauris BH2017-10-151-1/+1
| | | | | | | | | | (#2699) * Fix so that user can still fork his own repository to his organizations * Fix to only use owned organizations * Add integration test for forking own repository to owned organization
* Add Activity page to repository (#2674)Lauris BH2017-10-151-0/+6
| | | | | | | | | | | | | | * Add Activity page to repository * Add request data for activity * Add issue data for activity * Add user unit right checks * Add releases to activity * Log repository unit loading error
* Open external wiki in new window (#2489)Jonas Östanbäck2017-09-121-1/+1
|
* Fix releases to be counted from database not tags (#2389)Lauris BH2017-08-281-1/+1
|
* EnableUnit() -> UnitEnabled() (#2242)Ethan Koenig2017-08-021-6/+6
|
* 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
* Smaller watch, star, and fork buttons (#2052)Patrick G2017-06-281-6/+6
|
* feat: Only use issue and wiki on repo. (#1297)Bo-Yi Wu2017-03-181-4/+4
|
* Cleaner ui for admin, repo settings, and user settings page (#1269) (#1270)Patrick G2017-03-151-1/+1
|
* Add units concept for modulable functions of a repository (#742)Lunny Xiao2017-02-041-3/+21
| | | | | | | | | | | | | | | | * Add units concept for modulable functions of a repository * remove unused comment codes & fix lints and tests * remove unused comment codes * use struct config instead of map * fix lint * rm wrong files * fix tests
* Add ability to fork your own repos (#761)Bwko2017-01-261-1/+1
|
* Added rel="noopener" to target="_blank" hrefs (#327)Bwko2016-12-021-1/+1
| | | | | | * Added rel="noopener" to target="_blank" hrefs * Replaced gogs.io/docs with docs.gitea.io
* Implementation of the feature to redirect to an external issue trackerRémy Boulanouar2016-11-041-2/+2
|
* #2162 completely disable builtin issue tracker when enable external trackerUnknwon2016-08-041-1/+1
|
* Upgrade octicon to 4.3.0Unknwon2016-07-161-9/+9
|
* models/repo: remove redundant info for some repo methodsUnknwon2016-07-151-4/+4
| | | | RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
* Fixes #3263 - Change for Fontawesome icons to not conflict withs semantic-ui ↵Richard Mahn2016-07-151-1/+1
| | | | (#3267)
* Use relative url when showing forked fromJosh Frye2016-03-041-2/+2
|
* #2505 Allow to fork and disallow to create PRs for mirrors.Download-Fritz2016-02-191-1/+1
|
* Fix when repo is emptychriswatt2016-02-141-73/+71
|
* Add grey bg to tabs on repo pagechriswatt2016-02-141-69/+73
|
* Make commits tab active when on diff pagechriswatt2016-02-071-1/+1
|
* improve get commits performanceUnknwon2015-12-131-1/+1
|
* #1984 Better mirror repo managementUnknwon2015-12-081-1/+1
|