* Add automatic JS license generation
Removed librejs file and replaced it with a plaintext file that is built
from all JS dependencies that are included in the webpack build. It does
not cover the few remaining statically vendored files and fomantic is
added manually because it's not yet in the webpack build process.
Fixes: https://github.com/go-gitea/gitea/issues/11630
* fix lint
* remove jslicense, we're not librejs compatible any more
* remove license.txt test as it depens on absent files
* small optimization
* trailing comma
* localize and capitalize the word 'licenses'
* reduce text to just 'Licenses'
Co-authored-by: Lauris BH <[email protected]>
* Improve label edit buttons labels
Previously when editing the buttons in the "Edit Label" modal were a
strange "Update" and "No". Improved them to "Save" and "Cancel".
Also fixed indentation in the template file, recommended to view changes
with the "Hide whitespace changes" option enabled on GitHub.
* remove unnecessary button icon
Co-authored-by: techknowlogick <[email protected]>
* Add hide activity option
This closes https://github.com/go-gitea/gitea/issues/7927
* Adjust for linter
* Adjust for linter
* Add tests
* Remove info that admins can view the activity
* Adjust new tests for linter
* Rename v139.go to v140.go
* Rename v140.go to v141.go
* properly indent
* gofmt
Co-authored-by: Jonas Lochmann <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
* Allow site admin to disable mirrors
Signed-off-by: jolheiser <[email protected]>
* No need to run through Safe
Signed-off-by: jolheiser <[email protected]>
* Clarify only disabling NEW mirrors
Signed-off-by: jolheiser <[email protected]>
* Apply suggestions from @guillep2k
Co-authored-by: guillep2k <[email protected]>
Co-authored-by: guillep2k <[email protected]>
* translate: Change translate for admin.config.enable_captcha
add 'register' to make it more accurate
Signed-off-by: a1012112796 <[email protected]>
* Update options/locale/locale_en-US.ini
Co-authored-by: Cirno the Strongest <[email protected]>
Co-authored-by: Cirno the Strongest <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
Also removes stray dot and whitespace.
Trying to make base message shorter; I don't envy translators, the message can easily get multi-line in English, I'm sure that is even bigger problem in other languages.