summaryrefslogtreecommitdiffstats
path: root/public
Commit message (Collapse)AuthorAgeFilesLines
* Fix #1271: Call location.reload after XHR finishes (#2071)Guillermo Bonvehí2017-06-281-8/+4
| | | | | location.reload was being called when the related dropdown was hidden, even if a request initiated before to update this value hadn't finished. This caused troubles on Firefox.
* Use monospace font in githook editor (#1958)silverwind2017-06-132-0/+9
|
* Add repo fork swagger (#1941)Jonas Östanbäck2017-06-121-0/+36
|
* Support CRLF when splitting code lines for display (#1862)silverwind2017-06-102-2/+2
| | | | | | | | | | | | * Support CRLF when splitting code lines for display * refactor, fix mixed match * fmt * split on both LF and CRLF, use raw literals in regexes * simplify
* Prevent accidential selection of line numbers in code view (#1860)silverwind2017-06-052-0/+8
|
* Use production version of vuejs. (#1869)Antoine GIRARD2017-06-042-8568/+8
|
* Remove annoying difference in button heights. (#1853)Hussain Khalil2017-06-032-2/+0
| | | | | | | | | | * Remove annoying difference in button heights. Why was that even there? See before & after: http://imgur.com/a/yKdUR * (2/2) Remove annoying difference in button heights
* Fix change introduce by update of go-swagger. (#1727)Antoine GIRARD2017-06-011-4/+1
|
* Fix FOUC on Firefox (#1728)Sondre Nilsen2017-05-313-0/+13
| | | | | | | | | Firefox users will experience a flash of unstyled content on loading various pages, this patch will fix this issue using Filament Groups loadCSS library to asynchronously load the CSS responsible for the FOUC. Will fix #1698. Signed-off-by: Sondre Nilsen <nilsen.sondre@gmail.com>
* Add Gitea Webhook (#1755)Rémy Boulanouar2017-05-291-0/+0
| | | | | | | | * Replace Gogs by Gitea * Fix missing changes * Create Gitea webhook and put Gogs webhook apart.
* Merge pull request #1750 from andreynering/dashboard-search-org-reposAndrey Nering2017-05-271-2/+2
|\ | | | | More fixes for dashboard search
| * Fix private repo iconAndrey Nering2017-05-271-1/+1
| |
| * Show repos acording to user/organizationAndrey Nering2017-05-181-1/+1
| |
* | Make navbar scroll on overflow (#1777)Patrick G2017-05-242-0/+73
| | | | | | | | | | | | | | | | | | | | * Scrollbars on overflow of horizontal nav * Update _base.less * Add fade out on right side of overflowing nav * Update _base.less
* | Update HighlightJS and fix YAML files highlighting (#1764)Andrey Nering2017-05-204-3/+3
| | | | | | | | | | | | * Update HighlightJS to 9.11.0 * Fix YAML files highlighting
* | Add swagger comment for MirrorSync (#1747)Jonas Östanbäck2017-05-191-0/+16
| | | | | | | | | | | | * Add swagger comment for MirrorSync * Generate swagger.v1.json
* | Correct grammar in APIEmpty documentation (#1748)Jonas Östanbäck2017-05-181-1/+1
|/ | | | | | * Correct grammar in APIEmpty doc * Generate swagger.v1.json
* re-Generate swagger.json (#1722)Antoine GIRARD2017-05-141-0/+21
| | | changes introduced to repo format by : go-gitea/gitea#1687 go-gitea/go-sdk#58 go-gitea/gitea#1668 go-gitea/go-sdk#56
* Improve dashboard repo search (#1652)Andrey Nering2017-05-092-7/+8630
| | | | | | | | | | * Add VueJS * Improve dashboard search * Fix tab switching * Fix input autofocus
* Add configuration option for default permission to create Organizations (#1686)Lauris BH2017-05-082-4/+4
|
* Remove sha1 hash display in repository table and add latest commit GPG check ↵Lauris BH2017-05-052-30/+41
| | | | (#1678)
* Fix static files permission under public/ (#1675)Peter Dave Hello2017-05-0525-0/+0
|
* Fix CSS for wiki markdown (#1660)Jonas Östanbäck2017-05-032-8/+8
|
* Generate swagger json (#1402)Antoine GIRARD2017-05-0213-0/+1600
| | | | | | | - Generate swagger.json into public/ - Add swagger-ui auto-installation - Add footer link to local swagger-ui - Add /swagger url for using app url. - Fix Swagger-UI version via git tag
* Additional OAuth2 providers (#1010)Willem van Dreumel2017-05-0111-5/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add google+ * sort signin oauth2 providers based on the name so order is always the same * update auth tip for google+ * add gitlab provider * add bitbucket provider (and some go fmt) * add twitter provider * add facebook provider * add dropbox provider * add openid connect provider incl. new format of tips section in "Add New Source" * lower the amount of disk storage for each session to prevent issues while building cross platform (and disk overflow) * imports according to goimport and code style * make it possible to set custom urls to gitlab and github provider (only these could have a different host) * split up oauth2 into multiple files * small typo in comment * fix indention * fix indentation * fix new line before external import * fix layout of signin part * update "broken" dependency
* Optimize png images via Google zopflipng [ci skip] (#1639)Peter Dave Hello2017-04-305-0/+0
|
* Rework SSH key management UI to add GPG (#1293)Antoine GIRARD2017-04-261-1/+5
| | | | | | | | | | | | | | | | | | | | | | | * Rework SSH key management UI to add GPG * Add more detail to gpg key display * Update CHANGELOG.md * Implement deletion UI * Implement adding gpg UI * Various fixes - Fix duplicate entry in locale - Re-generate hash before verification since they are consumed * Add missing translation * Split template * Catch not found/verified email error
* Optimize and fix autolink function (#1442) (#1444)Michael de Wit2017-04-121-15/+45
| | | | | | * Optimize and fix autolink function (#1442) * Fix bug in autolink recursive fallback function
* Fix #1418 (#1456)Antoine GIRARD2017-04-072-112/+22
|
* Simplify settings pages with item list (#1389)Antoine GIRARD2017-03-303-83/+58
| | | | | | | | | | * Remove point column on ssh key setting page * Remove un-used css * Some cleaning * Use octicon-key
* GPG commit validation (#1150)Antoine GIRARD2017-03-222-4/+70
| | | | | | | | | | | | * GPG commit validation * Add translation + some little fix * Move hash calc after retrieving of potential key + missing translation * Add some little test
* Improve style of user OpenID setting page (#1324)Sandro Santilli2017-03-202-24/+26
| | | * Improve user openid list CSS and regenerate CSS
* Login via OpenID-2.0 (#618)Sandro Santilli2017-03-171-0/+0
|
* Fix missing less sources for oauth (#1288)Antoine GIRARD2017-03-173-33/+58
|
* Cleaner ui for admin, repo settings, and user settings page (#1269) (#1270)Patrick G2017-03-152-0/+17
|
* Cleaner UI for explore page (#1253) (#1255)Patrick G2017-03-152-1/+16
| | | | | | | * Take navbar out of column * Add styles to navbar * Changed navbar classes * Remove unneeded !important from index.css * Remove unneeded !important from _explore.less
* Batch updates for issues (#926)Ethan Koenig2017-03-153-13/+74
|
* Add LibreJS support (#1201)Sandro Santilli2017-03-121-0/+75
| | | | | See See https://www.gnu.org/software/librejs/ Closes #1200
* Search bar fixes for #1187 and #1205 (#1207)Patrick G2017-03-111-5/+3
|
* Fix double borders on edit page (#1152) (#1153)Patrick G2017-03-102-2/+24
| | | | | | * Fix double borders on edit page (#1152) * Add border modifications to less file
* Fix span wrapping all the thingsAndrew Boyarshin2017-02-241-9/+12
| | | | Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
* Oauth2 consumer (#679)Willem van Dreumel2017-02-223-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | * initial stuff for oauth2 login, fails on: * login button on the signIn page to start the OAuth2 flow and a callback for each provider Only GitHub is implemented for now * show login button only when the OAuth2 consumer is configured (and activated) * create macaron group for oauth2 urls * prevent net/http in modules (other then oauth2) * use a new data sessions oauth2 folder for storing the oauth2 session data * add missing 2FA when this is enabled on the user * add password option for OAuth2 user , for use with git over http and login to the GUI * add tip for registering a GitHub OAuth application * at startup of Gitea register all configured providers and also on adding/deleting of new providers * custom handling of errors in oauth2 request init + show better tip * add ExternalLoginUser model and migration script to add it to database * link a external account to an existing account (still need to handle wrong login and signup) and remove if user is removed * remove the linked external account from the user his settings * if user is unknown we allow him to register a new account or link it to some existing account * sign up with button on signin page (als change OAuth2Provider structure so we can store basic stuff about providers) * from gorilla/sessions docs: "Important Note: If you aren't using gorilla/mux, you need to wrap your handlers with context.ClearHandler as or else you will leak memory!" (we're using gorilla/sessions for storing oauth2 sessions) * use updated goth lib that now supports getting the OAuth2 user if the AccessToken is still valid instead of re-authenticating (prevent flooding the OAuth2 provider)
* Protected branches system (#339)Denis Denisov2017-02-211-0/+37
| | | | | | | | | | | | | | | | | | | | * 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
* Fix table headers (#980)Andrew Boyarshin2017-02-202-4/+2
| | | Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
* fix: fill in ssh key title on setting of repo (#950)Bo-Yi Wu2017-02-161-4/+4
| | | | | * fix: fill in ssh key title on setting of repo * fix: Don't overwrite ssh key title if exist.
* Markdown rendering overhaul (#186)Andrew Boyarshin2017-02-144-2/+25
| | | | | | | | | | | | * Markdown rendering overhaul Cleaned up and squashed commits into single one. Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com> * Fix markdown API, add markdown module and API tests, improve code coverage Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
* feat: fill in ssh key title automatically. (#863)Bo-Yi Wu2017-02-091-0/+9
|
* track issue title changes (#841)Lunny Xiao2017-02-051-0/+1
|
* Fixed form control is not focusable #687 (#837)Shyim2017-02-041-2/+2
|
* add milestone changed traker on issue view (#804)Lunny Xiao2017-02-011-0/+6
|