Commit Graph

16 Commits (9175556da0e89ec82bd3311990e34dd83dc7e3df)

Author SHA1 Message Date
oscar.lofwenhamn 1e9b330525 Update CodeMirror to version 5.49.0 ()
* Update CodeMirror to version 5.49.0

* Update CodeMirror versions in librejs and VERSIONS
Antoine GIRARD 26a78fa6b3 vendor: update pdf.js to v2.1.266 ()
techknowlogick efaee46b4d jQuery 3 ()
* jquery 3

* use most recent version of migrate plugin

* Delete .DS_Store

* update service worker in case anyone has old version of jquery cached
Antoine GIRARD 4f19b08258 update swagger-ui ()
silverwind 867ad49091 update highlight.js ()
silverwind 8e266c3193 UI: Fix race in update issue labels and assignees ()
Fix  

* fix issue update race condition
* fix similar race same race when clearing assignee
* always load promise polyfill
* replace es6-promise with promise-polyfill
* move promise-polyfill to <head>
Lauris BH fc14344acb
Fix heatmap and repository menu display in Internet Explorer 9+ ()
Lauris BH e09fe48773 Refactor heatmap to vue component ()
kolaente 6759237eda User action heatmap ()
* Added basic heatmap data

* Added extra case for sqlite

* Built basic heatmap into user profile

* Get contribution data from api & styling

* Fixed lint & added extra group by statements for all database types

* generated swagger spec

* generated swagger spec

* generated swagger spec

* fixed swagger spec

* fmt

* Added tests

* Added setting to enable/disable user heatmap

* Added locale for loading text

* Removed UseTiDB

* Updated librejs & moment.js

* Fixed import order

* Fixed heatmap in postgresql

* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md

Co-Authored-By: kolaente <konrad@kola-entertainments.de>

* Added copyright header

* Fixed a bug to show the heatmap for the actual user instead of the currently logged in

* Added integration test for heatmaps

* Added a heatmap on the dashboard

* Fixed timestamp parsing

* Hide heatmap on mobile

* optimized postgresql group by query

* Improved sqlite group by statement
techknowlogick 13e8a0fe56
offline use of fonts ()
techknowlogick 895e538836
Update jQuery to v1.12.4 ()
Fix 
techknowlogick fe78154895 relative URLs for LibreJS page ()
Fix 
Alexey Terentyev ca474af3c6 Added front-end topics validation ()
techknowlogick 832ca509d3 Remove autolink.js references ()
* Autolink.js no longer used

Fixes 

* Remove autolink.js references

* Fix reference to u2f js
Jonas Franz 951309f76a Add support for FIDO U2F ()
* 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>
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