Commit Graph

5907 Commits (68179dc67695def5fd7400bed1231e4bc0d2cc09)
 

Author SHA1 Message Date
Michael Lustfield 874f9be3e6 Move themes to plugin directory. Fixes ()
Lunny Xiao 0fd9289810 update translation from crowdin ()
Michael Lustfield a915a09e4f Moved vendored js/css into `public/vendor` and documented sources () ()
* Cleaning up public/ and documenting js/css libs.

This commit mostly addresses  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 .

* 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 .

* Updating SafeJS function per lint suggestion

* Added VERSIONS file, per request
Lunny Xiao 64b7068846 Add more test for login links and fix a bug on action retrieve ()
* add more test for login links and fix a bug on action retrieve
David Schneiderbauer 8aadf79f80 Add integration tests for signin ()
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
Ethan Koenig fd6e91077a Fix SQL condition bug in GetFeeds(..) ()
Lunny Xiao 9413b48a0b fix bug on create repo link on dashboard ()
Bo-Yi Wu be4f6a754c Revert "Changes for latest DroneCI ()" ()
This reverts commit faf4b503b2.
Bwko 1a5fe4326f Add collaborative repositories to the dashboard ()
* Add collaborative repositories to the dashboard

Remove some unused code from the Dashboard func

* fix some bug and some refactor

* fix tests
Thomas Boerger faf4b503b2 Changes for latest DroneCI ()
Morlinest 7455604f0c Remove (almost) server side data rendering from repo-search component ()
* Rename some shorthands

* Remove (almost) server side data rendering from repo-search component template
Lunny Xiao 2c6a0fdca8 update latest xorm version to vendor ()
Silke 5c29b0a5fe Add badge and link to the Matrix room ()
Antoine GIRARD fd8e8a421a Improve swagger doc ()
* Add swagger comment for adminCreateOrg

* Add swagger comment for admin route

* add hook swagger doc

* Add tags

* Add auth

* Fix name of responses

* Edit name method

* Update vendor

* make generate-swagger
Sandro Santilli 951c909a67 Add INTERNAL_TOKEN to integration .ini file ()
Avoids override of source file upon running `make test-pgsql`

Long story: settings.NewContext *adds* an INTERNAL_TOKEN if none
is found; the other ini files under integration/ all have an
INTERNAL_TOKEN
Morlinest 53e6c947f1 Fix order of elements in dashboard html ()
Sandro Santilli 100ec93a65 Remove integration test executables on `make clean` ()
Sandro Santilli 2c3a229a3c Add OpenID configuration in install page ()
Ethan Koenig e7653a67a1 No error log entries for repo 404 ()
David Schneiderbauer 5707ad3bb7 Add AppURL without trailing slash to TOTP issuer parameter to prevent conflicting accounts on multiple gitea installations ()
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
Morlinest 4c13a8458b Fix repo-search template errors for go1.7 ()
Morlinest e08d1fcc15 Fix variable name typo ()
Lauris BH 9df090e551 Add missing forks key for dashboard repository component ()
Missing key that is used in 
Morlinest f3486360d2 Make use of Vue more universal ()
Lunny Xiao 9e9e1e0e52 Add public links check ()
* add public links check

* more links for query parameters
Lunny Xiao aec826b023 fix template error on explore repos ()
Michael Kuhn 934dd41fa6 Make SHOW_USER_EMAIL also apply to profiles ()
The e-mail address is currently only hidden from the explore page.
Ethan Koenig 7907786040 Trigger sync webhooks on UI commit ()
* Trigger sync webhooks on UI commit

* Also fix UI upload/delete
Morlinest 951fb572a7 Fix and improve dashboard repo UI ()
* Fix and improve dashboard repo UI

* Change order of scripts loading

* Remove "mirror" tab

* Remove single tab panel for "org user"

* Add localization strings

* Create vue component and change event for search

* Add "mirrors" filter
Bo-Yi Wu 722bcefbbf refactor(Makefile): allow overriding default go program ()
Ethan Koenig c76ee5688b Revert to upstream ini dependency ()
silverwind fc29a405e8 More tweaks to repo top panel ()
* More tweaks to repo top panel

* undo hiding of compare button on master

* attempt to fix ci issue

* another ci attempt
Ethan Koenig 29f3a6e492 Fix rendering of external links ()
Pontus Leitzler 2282e24028 Use /dev/urandom to create random password ()
* Make sure generated password is random

Use /dev/urandom to get a 32 char password

* Make sure generated password is random

Use /dev/urandom to generate 32 char password

* Make sure generated password is random
Lunny Xiao f960e19c59 Only update needed columns when update user ()
* only update needed columns when update user

* fix missing update_unix column
Lunny Xiao 921d90fd8b fix 500 error when view an issue which's milestone deleted ()
Lunny Xiao be29d5f7ad fix webhook link
Patrick G e90bbcaa52 Comment help text for issues ()
Ethan Koenig 27798c3efc Temporarily patch go-ini/ini with fork ()
silverwind 54381f438b File path tweaks in UI ()
Michael Kuhn d05150a331 Make short link pattern greedy ()
Multiple links on the same line are currently not recognized correctly.
Bo-Yi Wu a3262636b8 update drone sig file. ()
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Bo-Yi Wu 9ff371a147 ignore coverage steps. ()
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
G 34df9deff1 Convert xorm literal queries to method calls ()
Lauris BH fa8d40faca Fix internal requests when gitea listens to unix socket or only external IP ()
* Fix internal requests when gitea listens to unix socket or only external IP

* When Gitea is set to listen using FastCGI use AppURL for LocalURL
Lauris BH a4ca54425f update code.gitea.io/git in vendor to fix ()
Lunny Xiao 4c54139afc add changelog of release v1.1.3 ()
Ethan Koenig 7e0654bd9e Fix counts on issues dashboard ()
* Fix counts on issues dashboard

* setupSess -> setupSession

* Unit test

* Load repo owners for issues
Ethan Koenig f29458bd3a EnableUnit() -> UnitEnabled() ()
Christoph Handel 539d9f4c30 Fix git version check with four digits (1.8.3.1) ()