Daniel Vaz Gaspar
bb22eb1ca8
feat: add option for hash algorithms ( #35621 )
...
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com >
2025-12-09 16:59:07 +00:00
Ville Brofeldt
c2baba50f9
chore: abstract models and daos into superset-core ( #35259 )
2025-11-14 17:00:44 -08:00
Michael S. Molina
a02a2f5a96
chore: Reduces the form_data_key length ( #31905 )
2025-01-21 16:49:10 -03:00
JUST.in DO IT
2874096e27
refactor(sqllab): migrate share queries via kv by permalink ( #29163 )
2025-01-17 16:16:02 -08:00
Maxime Beauchemin
e51b95ffa8
chore: enforce more ruff rules ( #31447 )
...
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com >
2024-12-18 17:41:34 -08:00
Ville Brofeldt
7d6e933348
chore(key-value): convert command to dao ( #29344 )
2024-07-01 20:22:11 +03:00
John Bodley
8fb8199a55
chore(dao/command): Add transaction decorator to try to enforce "unit of work" ( #24969 )
2024-06-28 12:33:56 -07:00
Ville Brofeldt
1770f8b783
fix(key-value): use flush instead of commit ( #29286 )
2024-06-20 16:19:41 +03:00
Ville Brofeldt
03969d5f90
chore(distributed-lock): refactor tests ( #29302 )
2024-06-20 15:58:25 +03:00
Eyal Ezer
56f0fc4ec2
refactor: Migration of json utilities from core ( #28522 )
...
Co-authored-by: Eyal Ezer <eyal.ezer@ge.com >
2024-05-20 10:27:22 -07:00
Maxime Beauchemin
2d63722150
chore: set up ruff as a new linter/formatter ( #28158 )
2024-04-24 17:19:53 -07:00
Beto Dealmeida
9022f5c519
feat(SIP-85): OAuth2 for databases ( #27631 )
2024-04-02 22:05:33 -04:00
John Bodley
aafb54d042
chore: Ensure Mixins are ordered according to the MRO ( #26288 )
2023-12-16 14:11:58 +13:00
John Bodley
07bcfa9b5f
chore(command): Organize Commands according to SIP-92 ( #25850 )
2023-11-22 16:55:54 -03:00
John Bodley
dd58b31cc4
chore(sqlalchemy): Remove erroneous SQLAlchemy ORM session.merge operations ( #24776 )
2023-11-20 17:25:41 -08:00
John Bodley
bece2ea3e4
chore: Remove unnecessary autoflush from tagging and key/value workflows ( #26009 )
2023-11-16 19:04:04 -08:00
EugeneTorap
5f103072b0
fix: Python3.11 (str, Enum) issue ( #24803 )
2023-07-31 09:04:09 -07:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
Ville Brofeldt
71d0543f28
fix(permalink): migrate to marshmallow codec ( #24166 )
2023-05-22 13:35:58 +03:00
Daniel Vaz Gaspar
694f93326d
fix: methods incorrect type and update deprecated targets ( #23935 )
2023-05-05 18:57:27 +01:00
Ville Brofeldt
f1fa1a733d
chore(key-value): use json serialization for main resources ( #23888 )
2023-05-04 08:04:05 +03:00
Ville Brofeldt
b6891aaa9f
chore(key-value): remove redundant exception logging ( #21702 )
...
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com >
2022-10-05 19:44:42 +03:00
Jesse Yang
c3ac61271a
feat(dashboard): make permalink deterministic ( #20632 )
2022-07-12 16:33:18 -07:00
John Bodley
f0ca158989
fix: Refactor ownership checks and ensure consistency ( #20499 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2022-07-07 11:04:27 -07:00
Jesse Yang
cadd259788
feat: save active tabs in dashboard permalink ( #19983 )
2022-06-29 09:43:52 -07:00
John Bodley
3483446c28
refactor: Cleanup user get_id/get_user_id ( #20492 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2022-06-24 17:57:04 -07:00
John Bodley
f5cb23e0a3
fix(migration): Ensure key_value LargeBinary is encoded as a MEDIUMBLOB as opposed to BLOB for MySQL ( #20385 )
...
* fix(migration): Ensure key_value LargeBinary is encoded as a MEDIUMBLOB as opposed to BLOB for MySQL
* Update 2022-06-14_15-28_e09b4ae78457_resize_key_value_blob.py
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2022-06-23 08:38:33 -03:00
Ville Brofeldt
64c4226817
fix(temporary-cache): when user is anonymous ( #20181 )
...
* fix(temporary-cache): fail on anonymous user
* make exceptions generic
* fix test
* remove redundant bool return
* fix unit tests
2022-05-26 14:45:20 +03:00
Ville Brofeldt
cf5145918b
fix(permalink): remove memoize on get salt func ( #19749 )
2022-04-18 14:26:21 +03:00
Daniel Vaz Gaspar
fa35109bf2
fix: add missing init on python pkg key_value ( #19428 )
...
* fix: add missing init on python pkg key_value
* fix lint issues
* fix lint issues
2022-03-30 12:46:42 +01:00
Ville Brofeldt
f4b71abb22
feat: introduce hashids permalink keys ( #19324 )
...
* feat: introduce hashids permalink keys
* implement dashboard permalinks
* remove shorturl notice from UPDATING.md
* lint
* fix test
* introduce KeyValueResource
* make filterState optional
* fix test
* fix resource names
2022-03-24 21:53:09 +02:00
Ville Brofeldt
72b9a7fa5b
feat(key-value): add superset metastore cache ( #19232 )
2022-03-21 19:46:56 +02:00
Ville Brofeldt
b7a0559aaf
feat: add permalink to dashboard and explore ( #19078 )
...
* rename key_value to temporary_cache
* add migration
* create new key_value package
* add commands
* lots of new stuff
* fix schema reference
* remove redundant filter state from bootstrap data
* add missing license headers
* fix pylint
* fix dashboard permalink access
* use valid json mocks for filter state tests
* fix temporary cache tests
* add anchors to dashboard state
* lint
* fix util test
* fix url shortlink button tests
* remove legacy shortner
* remove unused imports
* fix js tests
* fix test
* add native filter state to anchor link
* add UPDATING.md section
* address comments
* address comments
* lint
* fix test
* add utils tests + other test stubs
* add key_value integration tests
* add filter box state to permalink state
* fully support persisting url parameters
* lint, add redirects and a few integration tests
* fix test + clean up trailing comma
* fix anchor bug
* change value to LargeBinary to support persisting binary values
* fix urlParams type and simplify urlencode
* lint
* add optional entry expiration
* fix incorrect chart id + add test
2022-03-17 01:15:52 +02:00
Michael S. Molina
48a80950de
feat: Improve state key generation for dashboards and charts ( #18576 )
...
* feat: Improve state key generation for dashboards and charts
2022-02-14 17:09:06 -03:00
Adam Dobrawy
dad6f78419
refactor: extract json_required view decorator ( #18170 )
...
* refactor: extract json_required view decorator
* chore: rename json_required to requires_json
* refactor: add requires_form_data decorator and use it
* fix: fix lint issue, raise InvalidPayloadFormatError for invalid payload
2022-01-31 08:53:48 -03:00
Michael S. Molina
959b15eeca
feat: Adds a key-value endpoint to store charts form data ( #17882 )
...
* feat: Adds a key-value endpoint to store charts form data
* Fixes linting problems
* Removes the query_params from the endpoints
* Refactors the commands
* Removes unused imports
* Changes the parameters to use dataclass
* Adds more access tests
* Gets the first dataset while testing
* Adds unit tests for the check_access function
* Changes the can_access check
* Always check for dataset access
2022-01-20 16:27:57 -03:00
Bogdan
ec24256407
fix: add __init__.py to key_value ( #17730 )
...
* Add __init__.py
* Lisence
* Linter
Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com >
2021-12-15 10:28:32 -08:00
Michael S. Molina
2ae83fac86
fix: Allows PUT and DELETE only for owners of dashboard filter state ( #17644 )
...
* fix: Allows PUT and DELETE only for owners of dashboard filter state
* Converts the values to TypedDict
* Fixes variable name
2021-12-05 22:13:09 -03:00
Michael S. Molina
2f2e8fe412
feat: Adds a key-value endpoint to store the state of dashboard filters ( #17536 )
...
* feat: Adds a key-value endpoint to store the state of dashboard filters
* Fixes pylint issues
* Adds openapi schemas
* Adds more tests, move logic to commands and use singular form for the endpoint name
* Fixes model description
* Removes database model
* Adds open api specs
* Simplifies the commands
* Adds more tests
* Validates the value content and submits the correct http status code
* Fixes import order
* Skips flakky test
* Fixes tests
* Updates UPDATING.md
2021-12-01 09:06:49 -03:00