summaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeFilesLines
* Issue due date api (#3890)kolaente2018-07-161-31/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implemented basic api endpoint to manage deadlines * Fixed checking for permissions * Updating a deadline from the ui is now entirely done via the api * cleanup * Cosmetics * fixed lint + fmt * Added swagger model definition for deadline response * Updated gitea-sdk * Updated gitea-sdk * More cleanup * Generate swagger json * Merge branch 'master' of https://github.com/go-gitea/gitea into issue-due-date-api # Conflicts: # public/swagger.v1.json * Fixed permission to update a deadline via api * Re-added form to change a deadline * Added client-side validation + not ignore error messages from the api * Added locale for error message * Merge branch 'master' of https://github.com/go-gitea/gitea # Conflicts: # models/issue_comment.go * Proper date validation * Fixed indention * moved css to css file * added documentation for error codes * after merge cleanup * Added swagger description * DO NOTHING BUT TRIGGER THAT F*CKIN CI SO IT PICKS UP THE LATEST COMMIT AS IT SHOULD * DO NOTHING BUT TRIGGER THAT F*CKIN CI SO IT PICKS UP THE LATEST COMMIT AS IT SHOULD * regenerated stylesheets
* Added front-end topics validation (#4316)Alexey Terentyev2018-07-141-7/+13
|
* Locale for button Edit on protected branch (#4442)Joel da Rosa2018-07-131-1/+1
|
* Add the ability to have built in themes in Gitea (#4198)techknowlogick2018-07-051-0/+3
| | | | | | | | | This makes it easier for user who want to theme but don't have the ability to know how to customize templates all that is required is a change in a config option The reason why I chose the DEFAULT_THEME as variable, as perhaps in the future we will allow users to chose their theme whon logged in just like we do with languages
* Implemented hover text showing user FullName (#4261)Guido Diepen2018-07-051-1/+1
| | | | | | | For each action that is displayed in either the public activity overview of a user, or in the dashboard overview, the link to the username is now extended with a title attribute to show the FullName as hover text Signed-off-by: Guido Diepen <site-github@guidodiepen.nl>
* Don't display buttons if there are no system notifications (#4280)Lanre Adelowo2018-07-051-24/+26
| | | | | | * Don't display buttons if there are no notices * remove redundant gt check
* Add Recaptcha functionality to Gitea (#4044)Fluf2018-07-053-2/+17
|
* Fix typos in i18n variable names. (#4080)Matthew Richardson2018-07-044-7/+7
|
* Add `noreferrer` to rel='noopener` for <a> tags (#4328)cezar972018-07-0315-53/+53
|
* Update notification icon (#4343)ucodi2018-07-031-1/+1
|
* hide issues from org private repos w/o team assignment (#4034)David Schneiderbauer2018-06-211-1/+1
|
* undo #3142 because processes don't use the util.Timestamp (#4203)David Schneiderbauer2018-06-101-2/+2
|
* Only show "You cannot fork a repository you own" when needed (#4130)Fluf2018-06-091-1/+1
|
* Show only needed values in database configuration section depending on type ↵Lauris BH2018-06-061-2/+8
| | | | (#4164)
* Fix typo (#4151)Barbossa2018-06-061-1/+1
| | | Fix incorrect tmpl in oauth when we have a custom authorize url. The tmpl will append an additional character "v" every time we save the settings.
* Remove dupelicate link (#4100)Fluf2018-06-031-1/+1
|
* Mac OS X -> macOS (#4056)techknowlogick2018-05-271-6/+6
|
* fix writer cannot read bare repo guide (#4033)Lunny Xiao2018-05-241-1/+1
|
* LDAP Public SSH Keys synchronization (#1844)Magnus Lindvall2018-05-242-0/+8
| | | | | | | | | | | | | | | | | | | * Add LDAP Key Synchronization feature Signed-off-by: Magnus Lindvall <magnus@dnmgns.com> * Add migration: add login source id column for public_key table * Only update keys if needed * Add function to only list pubkey synchronized from ldap * Only list pub ssh keys synchronized from ldap. Do not sort strings as ExistsInSlice does it. * Only get keys belonging to current login source id * Set default login source id to 0 * Some minor cleanup. Add integration tests (updete dep testify)
* Added repository search ordered by stars or forks. Forks column in admin ↵Alexey Terentyev2018-05-246-6/+64
| | | | | | | | | | | | | repo list. (#3969) * Added repository search order by stars or forks. Added Forks column to admin repository list. Signed-off-by: Alexey Terentyev <axifnx@gmail.com> * Renamed search repo template Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* fix bugs caused by #3929 (#3999)Lunny Xiao2018-05-232-7/+7
|
* Add support for FIDO U2F (#3971)Jonas Franz2018-05-196-1/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for U2F Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add vendor library Add missing translations Signed-off-by: Jonas Franz <info@jonasfranz.software> * Minor improvements Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F support for Firefox, Chrome (Android) by introducing a custom JS library Add U2F error handling Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F login page to OAuth Signed-off-by: Jonas Franz <info@jonasfranz.software> * Move U2F user settings to a separate file Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add unit tests for u2f model Renamed u2f table name Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix problems caused by refactoring Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add U2F documentation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Remove not needed console.log-s Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add default values to app.ini.sample Add FIDO U2F to comparison Signed-off-by: Jonas Franz <info@jonasfranz.software>
* fix links to prevent 404 after e.g. submitting a faulty form (#3982)David Schneiderbauer2018-05-184-12/+12
|
* add missing token validation and fix missing alert on application settings ↵David Schneiderbauer2018-05-161-0/+1
| | | | page (#3976)
* Add more webhooks support and refactor webhook templates directory (#3929)Lunny Xiao2018-05-1611-14/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | * add more webhook support * move hooks templates to standalone dir and add more webhooks ui * fix tests * update vendor checksum * add more webhook support * move hooks templates to standalone dir and add more webhooks ui * fix tests * update vendor checksum * update vendor Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * load attributes when created release * update comparsion doc
* add user language value to hidden input to enable saving of profile without ↵David Schneiderbauer2018-05-151-1/+1
| | | | changing language (#3967)
* Refactor User Settings (#3900)David Schneiderbauer2018-05-1518-421/+337
| | | | | | | | | | | | | | | | | | | | | | * moved avatar to profile page * combined password change, email and account deletion into account settings page * combined totp, access tokens, linked accounts and openid into security settings page * move access tokens to applications settings page * small change to restart drone build * fix change avatar url on profile page * redirect old settings urls to new ones * enforce only one autofocus attribute on settings pages * set correct redirect status code * fmt fix
* issue-2768: added new option allow_only_external_registration (#3910)FabioFortini2018-05-132-0/+8
|
* Fix blank topic on explore repo list (#3956)techknowlogick2018-05-131-3/+7
|
* Fixed issue deadline not showing on issue page (#3930)kolaente2018-05-101-4/+4
|
* Multiple assignees (#3705)kolaente2018-05-094-28/+88
|
* Fix code tab link when viewing tags (#3908)Ambrose Chua2018-05-071-1/+1
| | | Signed-off-by: Ambrose Chua <ambrose@chua.family>
* Add option to use paged LDAP search when synchronizing users (#3895)Lauris BH2018-05-052-0/+20
|
* Added user language setting (#3875)kolaente2018-05-051-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added user language setting * Added translation string for setting * Fixed import order + typo * improved checking if the user has a language saved in the db * The current saved language is now set a default inside the dropdown * fmt * When a user signs in and doesn't have a language saved, the current browser language is saved * updated gitea-sdk * Merge branch 'master' of https://github.com/go-gitea/gitea into save-user-language # Conflicts: # models/migrations/migrations.go # models/migrations/v62.go * Made tests work again * trigger CI * trigger CI * fmt * re-trigger that FUCKING CI SO IT REALLY PICKS UP THE LATEST COMMIT ISTEAD OF PREDENDING TO DO SO * re-trigger that FUCKING CI SO IT REALLY PICKS UP THE LATEST COMMIT ISTEAD OF PREDENDING TO DO SO * When loggin in, only the language col gets updated instead of everything
* Issue due date (#3794)kolaente2018-05-014-2/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Started adding deadline to ui * Implemented basic issue due date managing * Improved UI for due date managing * Added at least write access to the repo in order to modify issue due dates * Ui improvements * Added issue comments creation when adding/modifying/removing a due date * Show due date in issue list * Added api support for issue due dates * Fixed lint suggestions * Added deadline to sdk * Updated css * Added support for adding/modifiying deadlines for pull requests via api * Fixed comments not created when updating or removing a deadline * update sdk (will do properly once go-gitea/go-sdk#103 is merged) * enhanced updateIssueDeadline * Removed unnessecary Issue.DeadlineString * UI improvements * Small improvments to comment creation + ui & validation improvements * Check if an issue is overdue is now a seperate function * Updated go-sdk with govendor as it was merged * Simplified isOverdue method * removed unessecary deadline to 0 set * Update swagger definitions * Added missing return * Added an explanary comment * Improved updateIssueDeadline method so it'll only update `deadline_unix` * Small changes and improvements * no need to explicitly load the issue when updating a deadline, just use whats already there * small optimisations * Added check if a deadline was modified before updating it * Moved comment creating logic into its own function * Code cleanup for creating deadline comment * locale improvement * When modifying a deadline, the old deadline is saved with the comment * small improvments to xorm session handling when updating an issue deadline + style nitpicks * style nitpicks * Moved checking for if the user has write acces to middleware
* Symlink icons (#1416) (#3826)Tris Forster2018-05-011-1/+1
| | | | | | | | | | | | * Updated vendor code for code.gitea.io/git * Display symlinks correctly for files and directories * Added symlink tests * Applied silverwinds stylesheet patch Signed-off-by: Tris Forster <tris.git@shoddynet.org>
* Make Generate New Token panel shown by default (#3832)Morgan Bazalgette2018-04-291-21/+15
| | | | | | This is mostly a 'feel' change. The behaviour that is currently on the access tokens pages is, as far as I know, not present in any other parts of the frontend, and there's no real good reason to keep the 'Generate New Token' panel hidden by default in my opinion.
* Shows total tracked time in issue and milestone list (#3341)Jonas Franz2018-04-294-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Show total tracked time in issue and milestone list Show total tracked time at issue page Signed-off-by: Jonas Franz <info@jonasfranz.software> * Optimizing TotalTimes by using SumInt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fixing wrong total times for milestones caused by a missing JOIN Adding unit tests for total times Signed-off-by: Jonas Franz <info@jonasfranz.software> * Logging error instead of ignoring it Signed-off-by: Jonas Franz <info@jonasfranz.software> * Correcting spelling mistakes Signed-off-by: Jonas Franz <info@jonasfranz.software> * Change error message to a short version Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add error handling to TotalTimes Add variable for totalTimes Signed-off-by: Jonas Franz <info@jonasfranz.de> * Introduce TotalTrackedTimes as variable of issue Load TotalTrackedTimes by loading attributes of IssueList Load TotalTrackedTimes by loading attributes of single issue Add Sec2Time as helper to use it in templates Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fixed test + gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Load TotalTrackedTimes via MilestoneList instead of single requests Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add documentation for MilestoneList Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add documentation for MilestoneList Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix test Signed-off-by: Jonas Franz <info@jonasfranz.software> * Change comment from SQL query to description Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit test by using int64 instead of int Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit test by using int64 instead of int Signed-off-by: Jonas Franz <info@jonasfranz.software> * Check if timetracker is enabled Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix test by enabling timetracking Signed-off-by: Jonas Franz <info@jonasfranz.de>
* Some small template fixes (#3820)Rodrigo Villablanca Vásquez2018-04-204-5/+7
|
* Improve English grammar and consistency. (#3614)bugreport02018-04-192-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | * Start improving English grammar and consistency. * Apply review comments, push translation further. * Additional review changes; expand translation. * Undo team/organization change, further translation. * Add site administration; review comments; merge. * Update hardcoded branch protection string tests. * Update hardcoded branch deletion string test. * Update another hardcoded translation string test. * Add my nickname to the list of translators. * Implement @lafriks review comments. * Remove (now) unused branch deletion warnings. * Remove (now) unused branch deletion warnings.
* Fix for UI broke when a repo is starred & watched (#3630) (#3810)kolaente2018-04-191-2/+2
|
* Mention the possibility of resetting the password for new accounts (#3812)Michael Kuhn2018-04-191-0/+1
| | | | | This solves the problem of administrators creating accounts for users that then do not know their initial password (without the administrator sending it to them via some other channel).
* Fixed 0 closed issues not show 50% closed on activty page (#3802)Morgan Bazalgette2018-04-161-2/+10
| | | | Fixes #3656. Also adds a light grey bar when there are both 0 merged prs/closed issues and 0 open prs/issues.
* Add topic support (#3711)Lunny Xiao2018-04-112-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | * add topic models and unit tests * fix comments * fix comment * add the UI to show or add topics for a repo * show topics on repositories list * fix test * don't show manage topics link when no permission * use green basic as topic label * fix topic label color * remove trace content * remove debug function
* Remove unnecessary Safe tags (#3778)Bwko2018-04-106-14/+13
|
* Add EnableTimetracking option to app settings (#3719)Bwko2018-04-092-15/+20
|
* fix: show Clipboard button if disable HTTP of git protocol (#3773)Bo-Yi Wu2018-04-091-1/+1
|
* Use the active branch for the code tab (#3720)Bwko2018-04-091-1/+1
|
* Modify pagination. (#3766)Pheng Heong TAN2018-04-081-21/+1
| | | | | | | I wanted navigation to the page "first" and the page "last" of the pages of commits. I discovered this has already been implemented in one of the templates. Signed-off-by: Tan Pheng Heong <phtan90@gmail.com>
* Add Size column to attachment (#3734)Jonas Franz2018-03-311-1/+1
| | | | | | | | | | | | | | | * Add size column to attachment Migrate attachments by calculating file sizes Signed-off-by: Jonas Franz <info@jonasfranz.software> * Calculate attachment size on creation Signed-off-by: Jonas Franz <info@jonasfranz.software> * Log error instead of returning error Signed-off-by: Jonas Franz <info@jonasfranz.software>