John Olheiser
e306c292ac
Expose default theme in meta and API ( #13809 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
4 years ago
Rongjian Zhang
77f360b1b8
fix: case typo ( #13049 )
...
* Update settings.go
* Run swagger generate
4 years ago
6543
dba5d82f86
Expose Attachemnt Settings by API ( #12514 )
...
close #12368
4 years ago
6543
2a52aeec49
API: Expose its limitation settings ( #12714 )
...
* API: Expose its limitation settings
* TESTs
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
4 years ago
6543
fc2f2c7602
API: Move AllowedReactions endpoint into GetGenneralUI endpoint + creat new swagger section settings ( #11854 )
...
* move Setting function into its own package
* swagger add&use new section "settings"
* move api AllowedReactions into general UI-Settings endpoint
* prepare TEST
* lint
5 years ago
6543
68a2af6d68
API expose usefull General Repo settings settings ( #11758 )
...
* GeneralRepoSettings expose MirrorsDisabled, HTTPGitDisabled, MaxCreationLimit
* Apply suggestions from code review
Co-authored-by: proton <25139420+proton-ab@users.noreply.github.com>
* lint
Co-authored-by: proton <25139420+proton-ab@users.noreply.github.com>
5 years ago
6543
2c5b3c72e8
Fix bug with globally disabling mirror ( #11760 )
...
Ensure we return after `ctx.Error(...)`
5 years ago
6543
b534a5164f
[API] Expose allowed Reactions ( #11735 )
...
* [API] Expose allowed Reactions
* dont be in soutch a rush
* add TEST
* use ElementsMatch
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago