##// END OF EJS Templates
Commit Message Age Author Refs
load previous
r8732:03d51a2a
repo group: always update fullpath group_name when changing parent It was usually set anyway before, as the group name usually was specified without being changed and triggered this update.
Mads Kiilerich
0
r8731:6d773118
repo group: drop pointless double handling of parent_group_id updates
Mads Kiilerich
0
r8730:5f8f52a2
tests: introduce test_api_update_repo_group covering update_repo_group api This shows that some of the API is broken. Failing test cases are disabled and will be enabled when the problems are fixed.
Mads Kiilerich
0
r8729:f2dc57c1
repo: introduce enable_downloads and enable_statistics when creating repos These booleans were not shown in the normal repo creation form, so the form validation applied the "default" values of False. These values were however not used by the model when creating repos - it just unconditionally used the real global defaults. The API already exposed some of this, but it wasn't implemented. The web form for creating repos lacked these fields, but it was present in the repo edit form. Just make these fields mandatory. There will thus not be any defaults to apply in the model for creating repos.
Mads Kiilerich
0
r8728:d00371a7
templates: align forms for repo creation and repo settings 99% whitespace changes and reordering.
Mads Kiilerich
0
r8727:1d1fe8c2
tests: update test_api_create_repo with better coverage of create_repo api Based on test_api_update_repo. This shows that some of the API is broken. Failing test cases are disabled and will be enabled when the problems are fixed.
Mads Kiilerich
0
r8726:9de126d6
tests: update_repo without begging the question Don't verify changes by comparing the API result from the update with data directly from the API that contain the same update. Instead, set the expectations based on the previous API data before applying the change.
Mads Kiilerich
0
r8725:62dc536c
contributors: update
Mads Kiilerich
0
r8724:2dd317e9
api docs: make examples use comma more like json does
Mads Kiilerich
0
r8723:ac5525c4
api docs: more consistent use of space around ":" in examples The examples are informal pseudo code - not json and not python. But let's try to be consistent anyway.
Mads Kiilerich
0
r8722:ba64339f
api docs: make examples more like 4 space indented
Mads Kiilerich
0
r8721:6f9dec22
api docs: drop extra newlines in docstrings
Mads Kiilerich
0
r8720:37939201
api docs: various minor changes
Mads Kiilerich
0
r8719:d69c3e30
api docs: update docstrings Changes contributed by toras <toras9000@gmail.com>.
Mads Kiilerich
0
r8717:33f1faa7
setup: bump Sphinx version Sphinx 3.0.4 doesn't version its dependencies correctly, and it fails with latest jinja 3.1.2: ImportError: cannot import name 'environmentfilter' from 'jinja2' (.../site-packages/jinja2/__init__.py) Latest Sphinx version supports latest Jinja version and seems to render the documentation correctly.
Mads Kiilerich
0
r8716:ed117efc
middleware: fix url_scheme_variable 070b8c39736f accidentally introduced a wrong assumption that url_scheme_variable is a bool. Fix to only check whether it has been set to something non-empty.
Mads Kiilerich
0
r8715:2065fe5b
middleware: use config consistently in https_fixup 070b8c39736f did for unknown reasons introduce a use of the global kallithea.CONFIG . Instead, consistently use the application config object that has been passed.
Mads Kiilerich
0
r8714:0f9415c2
html: align formatting of edit_perms templates
Mads Kiilerich
0
r8713:5572eb8d
html: clarify type of button elements - make it clear if we really want "submit" This might fix some real problems.
Mads Kiilerich
0
r8712:cc70797e
usergroup: fix adding permission Clicking "Add new" on /_admin/user_groups/1/edit/perms would flicker the input fields, and then show "User group permissions updated". That turns out to be because HTML button tags default to 'submit' inside forms, and in this place (but not for user or repo group permissions) we didn't specify the button type as 'button'. There might be other similar problems.
Mads Kiilerich
0
load next
< 1 2 3 4 5 6 7 .. 26 >
showing 20 out of 515 commits