Commit Graph

763 Commits (master)

Author SHA1 Message Date
Emojigit c68524d16f
It is 2021 now! Happy new year! 2021-02-05 11:26:33 +08:00
TW f4f8d97266
Merge pull request #261 from ThomasWaldmann/gha2
more CI work
2021-01-05 23:13:41 +01:00
Thomas Waldmann 50df6273f0 remove .travis.yml, fix MANIFEST.in 2021-01-05 23:07:07 +01:00
Thomas Waldmann 1c8ed169d8 CI workflow: misc. fixes 2021-01-05 23:04:21 +01:00
TW db5449058b
Merge pull request #260 from ThomasWaldmann/gha
add a github actions CI workflow, fixes #255
2021-01-05 22:17:52 +01:00
Thomas Waldmann b67aa9b5a6 add a github actions CI workflow 2021-01-05 22:14:04 +01:00
TW e74fdc3f8a
Merge pull request #256 from mfa/master
don't crash on ``('JSONBareObject', (), (), ())``
2020-12-14 01:34:54 +01:00
Andreas Madsack 83530da6eb
don't crash on ``('JSONBareObject', (), (), ())`` 2020-12-11 16:45:33 +01:00
TW 6544daa5c6
Merge pull request #253 from ThomasWaldmann/drop-py2
Drop python 2 support
2020-11-15 15:03:16 +01:00
Janne Heß 68d099c180
Add myself as an author (#254) 2020-11-15 15:00:24 +01:00
Thomas Waldmann 45f12c3c09 setup: use python_requires >=3.5 2020-11-14 04:46:31 +01:00
Thomas Waldmann 040fb99ea4 get rid of _compat.py 2020-11-14 04:34:53 +01:00
Thomas Waldmann 283110b349 drop py2 support from _compat.py 2020-11-14 04:23:18 +01:00
Thomas Waldmann fe5d6c3ee7 setup.py: use python3 shebang, drop py2 support 2020-11-14 04:20:13 +01:00
Thomas Waldmann 9f08e5ea87 testing: drop python 2.7 testing
and also pypy (2) testing.
2020-11-14 04:19:06 +01:00
TW fa8ce28b8b
Merge pull request #252 from ThomasWaldmann/rel060
Release 0.6.0
2020-11-14 04:02:11 +01:00
Thomas Waldmann aa626f4951 rendering fixes for REST api docs 2020-11-14 03:57:51 +01:00
Thomas Waldmann 2e63e67ed7 minor doc updates
mention support of asciinema casts
mention pip install bepasty[magic]
2020-11-14 03:53:42 +01:00
Thomas Waldmann bfcd1e6cba cosmetic fixes to setup.py 2020-11-14 03:53:42 +01:00
Thomas Waldmann 0b5a4f3b10 cosmetic changes to CHANGES
remove "fixes" from ticket references
2020-11-14 03:53:41 +01:00
Thomas Waldmann 6bba5ec019 set release date 2020-11-14 03:16:39 +01:00
TW 8236af0f3b
Merge pull request #248 from ThomasWaldmann/update-changes2
update CHANGES
2020-11-14 02:54:48 +01:00
TW 43cafb39c7
Merge pull request #251 from OGAWAHirofumi/rest-api-doc
Documenting new REST apis
2020-11-14 02:53:55 +01:00
OGAWA Hirofumi 603ac2645a Make REST apis doc more readable by indent 2020-11-14 02:04:33 +09:00
OGAWA Hirofumi 8cb43e9166 Documenting required permission for REST apis 2020-11-14 02:04:30 +09:00
OGAWA Hirofumi e2b3069750 Documenting new REST apis 2020-11-14 02:04:27 +09:00
Thomas Waldmann 1d1857956c update CHANGES 2020-11-13 01:05:40 +01:00
TW 8d03dca740
Merge pull request #247 from ThomasWaldmann/fixes
Fixes
2020-11-13 00:18:27 +01:00
Thomas Waldmann c000f80a16 use https for docs link, fixes #243 2020-11-13 00:11:22 +01:00
Thomas Waldmann bb4ebf1ea2 update supported permissions in README, fixes #246 2020-11-13 00:09:10 +01:00
TW 21ca683ec8
Merge pull request #240 from OGAWAHirofumi/add-edit
Add edit dialog to modify metadata (for now)
2020-11-11 04:38:09 +01:00
TW 4ff35579fb
Merge pull request #245 from OGAWAHirofumi/sort-icons
Sort permission icons
2020-11-10 19:20:13 +01:00
TW fd9aefc022
Merge pull request #244 from OGAWAHirofumi/add-authors
Add me to AUTHORS as requested
2020-11-10 19:18:31 +01:00
OGAWA Hirofumi 2cd62e3fef Sort permission icons 2020-11-11 02:58:27 +09:00
OGAWA Hirofumi 721cfab9b1 Add me to AUTHORS as requested 2020-11-11 02:55:34 +09:00
OGAWA Hirofumi 37f3aae9a6 Add screenshot for modify modal 2020-11-11 02:41:35 +09:00
OGAWA Hirofumi cc650b0c63 Stop to modify sequence number by hand for screenshots 2020-11-11 02:41:32 +09:00
OGAWA Hirofumi 5305713a80 Add MODIFY permission for modify operation
To be flexible permission, this separates modify from create permission.
2020-11-11 02:41:29 +09:00
OGAWA Hirofumi f73aa46464 Add "modify" operation to modify uploaded data
This adds "modify" operation to modify uploaded data (for now, filename
and type are supported).

To do it,

    - add /rest/items/<id>/modify REST api
    - add /<id>/+modify web api

Web UI is implemented by bootbox with jquery-ui for mime-type auto
completion. Modal form for bootbox was added into display.html to make
easier to tweaks UI, without modifying javascript. And some codes are
shared with uploaded UI (index.html).
2020-11-11 02:41:26 +09:00
TW c311628ce3
Merge pull request #239 from OGAWAHirofumi/app-test
Add test for APP_BASE_PATH
2020-11-10 17:58:28 +01:00
OGAWA Hirofumi 0aecd454fa Add test for APP_BASE_PATH 2020-11-10 21:01:59 +09:00
TW 8038b86911
Merge pull request #238 from OGAWAHirofumi/session-use-token
Disallow the old cookie for PERMISSIONS in old config
2020-11-10 12:10:18 +01:00
OGAWA Hirofumi 4d5020d983 Disallow the old cookie for PERMISSIONS in old config
This adds the hash for PERMISSIONS to config.SECRET_KEY additionally.

Without this change, even if PERMISSIONS in server config was changed
(for example, dropped password), PERMISSIONS in cookie are still used
until the cookie is removed from client side. So client can login with
old PERMISSIONS.
2020-11-10 20:07:20 +09:00
TW e69eace482
Merge pull request #236 from OGAWAHirofumi/use-python-magic
Add optional python-magic support for application/octet-stream
2020-11-09 15:35:07 +01:00
OGAWA Hirofumi 3cadb71f30 Add optional python-magic support for application/octet-stream
This uses python-magic to improve mime type auto detection if user
didn't specify and filename couldn't detect.

To do it, make internal only metadata by "internal_meta[]". Then add
TYPE_HINT as internal metadata to remember to tell the pending state
of auto detection until file data is available.
2020-11-09 23:04:09 +09:00
TW 00fe5cd423
Merge pull request #237 from OGAWAHirofumi/ui-change
Ui change
2020-11-09 00:00:07 +01:00
OGAWA Hirofumi 1d49251d98 Make "(Permissions: ...)" navbar-text and remove extra SPC before ")" 2020-11-09 05:57:05 +09:00
OGAWA Hirofumi 9d079e4323 Use full width for navbar like bootstrap4 examples 2020-11-09 05:57:01 +09:00
OGAWA Hirofumi 0a8613be53 Use shorter name for "Create List Item"
"Create List Item" is too long for button width, and it displays as
like [ Create List Ite] in button (or wrap on newer bootstrap4
version). So use shorter "Create List" with nowrap.
2020-11-09 05:56:58 +09:00
TW 8174633ded
Merge pull request #234 from OGAWAHirofumi/use-bootstrap4
Use bootstrap4
2020-11-08 21:41:22 +01:00