sua yoo
dae98e1865
Allow user to delete individual crawls ( #609 )
2023-02-21 10:52:29 -06:00
Tessa Walsh
30f1930519
Add back GET /users/invite/{token} used by frontend ( #607 )
2023-02-16 13:02:38 -05:00
Francis Kayiwa
1ebffd8b05
ansible: enable firewalld ports ( #602 )
...
open up http/s and the microk8s ports
2023-02-15 20:50:14 -08:00
Tessa Walsh
bd4fba7af7
Fix POST /orgs/{oid}/crawls/delete ( #591 )
...
* Fix POST /orgs/{oid}/crawls/delete
- Add permissions check to ensure crawler users can only delete
their own crawls
- Fix broken delete_crawls endpoint
- Delete files from storage as well as deleting crawl from db
- Add tests, including nightly test that ensures crawl files are
no longer accessible after the crawl is deleted
2023-02-15 21:06:12 -05:00
sua yoo
9532f48515
Fix app not rendering with bad auth storage states ( #597 )
...
* render even if session store throws
* handle after timeout
* remove localstorage key
* update tests
2023-02-14 18:35:21 -08:00
D. Lee
d15e6c8ad8
Fix doc to build a local image for microk8s ( #594 )
...
- add push to registry cmd
- update to frontend_* and backend_*
2023-02-14 16:10:04 -08:00
Tessa Walsh
14b349443f
Make pending invites expire via TTL index ( #568 )
...
* Make invites expire after configurable window
The value can be set in EXPIRE_AFTER_SECONDS env var and via
helm chart values, and defaults to 7 days.
* Create nightly test CI and add invite expiration test to it
* Update 404 error message for missing or expired invite
---------
Co-authored-by: sua yoo <sua@suayoo.com>
2023-02-14 16:07:14 -05:00
sua yoo
baa2214c9f
Make all config form help text localizable ( #593 )
2023-02-13 16:53:33 -08:00
Henry Wilkinson
fea30d23ee
Merge pull request #589 from webrecorder/crawl-scale-to-instances
2023-02-13 15:08:14 -05:00
Henry Wilkinson
7da732331b
Update frontend/src/pages/org/crawl-detail.ts
...
Co-authored-by: sua yoo <sua@webrecorder.org>
2023-02-12 13:26:27 -05:00
sua yoo
a180b92f4a
Improve superadmin invite UI ( #581 )
2023-02-12 10:12:53 -08:00
Henry Wilkinson
b84a70b394
Adds help text
...
Matches crawl config help text
2023-02-09 01:00:14 -05:00
Henry Wilkinson
b7a9d811a0
"Crawl Scale" → "Crawler Instances"
...
- Changes name to match crawl config label
- Makes the buttons small
2023-02-09 00:41:34 -05:00
Tessa Walsh
103d91556f
Remove non-org-scoped invites from backend ( #585 )
...
* Remove non-org-scoped invites
- remove POST /users/invite and related tests
- remove GET /users/invite-delete/{token}
2023-02-08 18:56:28 -08:00
Tessa Walsh
b642c53c59
Make crawlconfig name optional ( #588 )
2023-02-08 18:38:15 -08:00
Tessa Walsh
ce8f426978
Add notes to crawl and crawl updates ( #587 )
2023-02-08 18:36:22 -08:00
sua yoo
7463becdff
Manage org member roles and invites ( #558 )
...
- View and delete pending invites
- Update user roles for members
- Remove members
2023-02-08 18:32:40 -08:00
Ilya Kreymer
40fb04b385
backend: /orgs/<id>/remove: return 404 if org user doesn't exist, fix… ( #561 )
...
* backend: /orgs/<id>/remove: return 404 if org user doesn't exist, fixes issue in #535
Co-authored-by: Tessa Walsh <tessa@bitarchivist.net>
2023-02-08 16:22:36 -05:00
Tessa Walsh
a7a18b9db0
Add org-specific delete invite endpoint ( #575 )
...
Adds POST /orgs/{oid}/invites/delete, which expects the invited
email address in the POST body.
This endpoint will also delete duplicate invites with the same
email/oid combination if env var ALLOW_DUPE_INVITES allows dupes.
2023-02-08 16:10:09 -05:00
Ilya Kreymer
3261e7d666
ci:
...
- run k3d-ci on all changes to charts or backend, including PRs (faster)
- run microk8s and k3d-log-ci only on commits to main that change charts or backend (slower)
- run lint on all changes to backend, including PRs
fix
2023-02-08 11:24:54 -08:00
Tessa Walsh
95155e6fbf
Invite token improvements ( #564 )
...
- URL decode email address in invites.invite_user
- Add tests for accepting invites
2023-02-07 20:40:28 -08:00
sua yoo
a7a5b7fd63
test: add shoelace form utility to import map
...
Temporarily fixes test build error, see FIXME
2023-02-07 13:58:14 -08:00
sua yoo
ac947421c0
Allow URL list to have URLs containing commas ( #572 )
2023-02-07 10:52:34 -08:00
Henry Wilkinson
56d331ab78
Fix text overflow problem on crawl details page ( #570 )
...
* Fixes text overflow problem on crawl details page
- Crawl title length is now unlimited
- Flex items in that row are aligned to the bottom of the box (details bar) instead of the top
- Mirrors changes on config detail page
* Shrinks action button size on config detail page: Matches crawl detail page
* Margin fix: Added 0.5rem, aligned with mockups
2023-02-06 19:43:22 -08:00
sua yoo
d128525e4e
Run unit tests in frontend PR check ( #569 )
2023-02-06 17:47:15 -08:00
Ilya Kreymer
21745fb6f8
health readiness check: add /healthz endpoint for nginx readiness check, set failure threshold to 3 (similar to ingress) ( #562 )
2023-02-06 15:08:05 -08:00
sua yoo
17e1628d2d
Allow superadmins to create org from UI ( #563 )
2023-02-06 14:58:28 -08:00
sua yoo
4875d7727d
Fix invite accept in UI ( #560 )
2023-02-06 12:18:24 -08:00
Tessa Walsh
6d424a1ae0
Serialize pending invites to return "id" not "_id" ( #559 )
2023-02-06 12:28:11 -05:00
Henry Wilkinson
28d39121d7
Merge pull request #551 from webrecorder/css-fixes
2023-02-05 22:00:09 -05:00
Ilya Kreymer
67df783885
bump version to 1.2.1-beta.0
2023-02-05 12:27:45 -08:00
D. Lee
51b44563c8
add/remove admin node pool ( #556 )
2023-02-04 19:17:05 -08:00
Henry Wilkinson
2c37231393
Merge pull request #552 from stavares843/patch-1
2023-02-03 14:02:54 -05:00
Ilya Kreymer
da60403e4b
ci: set env vars for deploy script
2023-02-03 10:54:03 -08:00
Ilya Kreymer
6866383c6f
ci: fix deploy script typo, ensure version is set
2023-02-03 10:49:17 -08:00
Sara Tavares
b9ae1dd979
chore(typo): fix typo in read me
2023-02-03 18:32:58 +00:00
Henry Wilkinson
58971d6b32
switch font-medium
→ font-semibold
for titles
...
This should resolve to `font-weight: 600` but currently does not. :(
2023-02-03 03:35:07 -05:00
Henry Wilkinson
a2a8d283ff
Fixes url word breaking
...
Would probably ideally be break-word for all the non URL related things in the form but I don't think it will have any effect on anything that's not URLs in practice?
2023-02-03 03:10:28 -05:00
Henry Wilkinson
8e65edc6f8
Fix org settings label font weight
2023-02-03 03:01:41 -05:00
Ilya Kreymer
af7ba4c90a
version: update to 1.2.0
2023-02-02 23:46:23 -08:00
Henry Wilkinson
a7cd15c4f8
Removes "crawl of" beside crawl name
2023-02-03 02:41:22 -05:00
Henry Wilkinson
629b3dea6a
Align details nav with window instead of window title
2023-02-03 02:37:46 -05:00
D. Lee
ba60f4e310
ansible: Add admin addons options to DigitalOcean ( #529 )
...
- if 'enable_admin_addons' is enabled, init admin logging addon and add admin node pool
2023-02-02 23:00:03 -08:00
sua yoo
10c96ed2ae
Update tab access by user role ( #549 )
...
* update types
* update user org type
* update tabs
2023-02-02 22:26:22 -08:00
sua yoo
16ca8ecefd
Support additional seed URLs and custom scope type ( #543 )
2023-02-02 21:39:29 -08:00
sua yoo
c1a612d73f
Update crawl tags from detail view ( #539 )
2023-02-02 20:42:18 -08:00
Tessa Walsh
2e3b3cb228
Add API endpoint to update crawl tags ( #545 )
...
* Add API endpoint to update crawls (tags only for now)
* Allow setting tags to empty list in crawlconfig updates
2023-02-01 22:24:36 -05:00
Tessa Walsh
23022193fb
Reformat backend for black 23.1.0 ( #548 )
2023-02-01 20:01:09 -05:00
Tessa Walsh
58aafc4191
Make API updates for member updates ( #541 )
...
* Add API endpoint that lists pending invites for all orgs (superuser-only)
* Add API endpoint that lists pending invites for org
* Add user emails to /api/orgs/<oid> response
2023-02-01 16:44:00 -05:00
Ilya Kreymer
9048d46c6c
backend: add extraHops to support #543
2023-02-01 13:21:26 -08:00