| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
* Replace Gogs by Gitea
* Fix missing changes
* Create Gitea webhook and put Gogs webhook apart.
|
|\
| |
| | |
More fixes for dashboard search
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Scrollbars on overflow of horizontal nav
* Update _base.less
* Add fade out on right side of overflowing nav
* Update _base.less
|
| |
| |
| |
| |
| |
| | |
* Update HighlightJS to 9.11.0
* Fix YAML files highlighting
|
| |
| |
| |
| |
| |
| | |
* Add swagger comment for MirrorSync
* Generate swagger.v1.json
|
|/
|
|
|
|
| |
* Correct grammar in APIEmpty doc
* Generate swagger.v1.json
|
|
|
| |
changes introduced to repo format by : go-gitea/gitea#1687 go-gitea/go-sdk#58 go-gitea/gitea#1668 go-gitea/go-sdk#56
|
|
|
|
|
|
|
|
|
|
| |
* Add VueJS
* Improve dashboard search
* Fix tab switching
* Fix input autofocus
|
| |
|
|
|
|
| |
(#1678)
|
| |
|
| |
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
* Fix bug in autolink recursive fallback function
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Remove point column on ssh key setting page
* Remove un-used css
* Some cleaning
* Use octicon-key
|
|
|
|
|
|
|
|
|
|
|
|
| |
* GPG commit validation
* Add translation
+ some little fix
* Move hash calc after retrieving of potential key + missing translation
* Add some little test
|
|
|
| |
* Improve user openid list CSS and regenerate CSS
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Take navbar out of column
* Add styles to navbar
* Changed navbar classes
* Remove unneeded !important from index.css
* Remove unneeded !important from _explore.less
|
| |
|
|
|
|
|
| |
See See https://www.gnu.org/software/librejs/
Closes #1200
|
| |
|
|
|
|
|
|
| |
* Fix double borders on edit page (#1152)
* Add border modifications to less file
|
|
|
|
| |
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
* 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
|
|
|
| |
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
|
|
|
|
|
| |
* fix: fill in ssh key title on setting of repo
* fix: Don't overwrite ssh key title if exist.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
| |
|
| |
|
| |
|