Sascha Ißbrücker
3af4e07eb6
Allow searching for tags without hash character ( #449 )
...
* Allow searching for tags without hash character
* Allow removing selected tags without hash
* Add more tests
2023-05-18 09:06:22 +02:00
Sascha Ißbrücker
5049ff14cf
Make search case-insensitive on Postgres ( #432 )
2023-02-20 22:49:08 +01:00
Josh Dick
d17801ba84
Disable autocapitalization for tag input form ( #395 )
...
* Disable autocapitalization for tag input form
* Disable autocapitalize in tag auto complete
* Fix test
---------
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
2023-02-18 18:51:31 +01:00
Sascha Ißbrücker
74134d3896
Escape texts in exported HTML ( #429 )
2023-02-18 18:25:54 +01:00
Sascha Ißbrücker
6b4664117b
Fix favicon being cleared by web archive snapshot task ( #405 )
2023-01-22 14:07:06 +01:00
Sascha Ißbrücker
814401be2e
Add option for showing bookmark favicons ( #390 )
...
* Implement favicon loader
* Implement load favicon task
* Show favicons in bookmark list
* Add missing migration
* Load missing favicons on import
* Automatically refresh favicons
* Add enable favicon setting
* Update uwsgi config to host favicons
* Improve settings wording
* Fix favicon loader test setup
* Document LD_FAVICON_PROVIDER setting
* Add refresh favicons button
2023-01-21 16:36:10 +01:00
Sascha Ißbrücker
4cb39fae99
Prefill form if URL is already bookmarked ( #402 )
...
* Prefill form from existing bookmark
* add bookmark check api tests
2023-01-20 22:44:10 +01:00
Sascha Ißbrücker
30da1880a5
Cache website metadata to avoid duplicate scraping ( #401 )
...
* Cache website metadata to avoid duplicate scraping
* fix test setup
2023-01-20 22:28:44 +01:00
McKenna Jones
da99b8b034
Add Health Check endpoint ( #392 )
...
* add simple health endpoint
* add curl and healthcheck to dockerfile
* convert to view
* add simple test
* Add unhealthy test
* Cleanup
* check for LD_SERVER_PORT env var in healthcheck def
* Revert changes to middlewares.py
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
2023-01-20 22:26:58 +01:00
Sascha Ißbrücker
021d1cd673
Fix bookmark website metadata not being updated when URL changes ( #400 )
2023-01-20 20:59:09 +01:00
Luca
c2d8cde86b
Trim website metadata title and description ( #383 )
...
* feat: trim fetched metadata placeholders
* feat: implement trimming serverside
* Add website loader tests
* Address review comments
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
2023-01-12 21:06:36 +01:00
Sascha Ißbrücker
f84e2d2210
Add error handling for checking latest version ( #360 )
2022-10-16 13:04:36 +02:00
Sascha Ißbrücker
2fd7704816
Limit document size for website scraper ( #354 )
...
Limits the size of scraped HTML documents to prevent out of memory errors. The scraper will stop reading from the response when it encounters the closing head tag, or if the read content's size exceeds a max limit.
Fixes #345
2022-10-07 21:18:18 +02:00
Sascha Ißbrücker
1c3651e91d
Add setting and documentation for fixing CSRF errors ( #349 )
...
* Add documentation and setting for solving CSRF errors
* Improve proxy setup docs
* Link to reverse proxy documentation
* Fix link
2022-10-05 10:01:44 +02:00
Sascha Ißbrücker
1b35d5b5ef
Prevent rate limit errors in wayback machine API ( #339 )
...
The Wayback Machine Save API only allows a limited number of requests within a timespan. This introduces several changes to avoid rate limit errors:
- There will be max. 1 attempt to create a new snapshot
- If a new snapshot could not be created, then attempt to use the latest existing snapshot
- Bulk snapshot updates (bookmark import, load missing snapshots after login) will only attempt to load the latest snapshot instead of creating new ones
2022-09-10 20:43:15 +02:00
Sascha Ißbrücker
6420ec173a
Improve bookmark query performance ( #334 )
...
* Remove tag projection from bookmark queries
* add feeds performance test
2022-09-09 19:46:55 +02:00
Sascha Ißbrücker
f88cc30b48
Add option to create initial superuser ( #323 )
...
* Add option to create initial superuser
* Update .env.sample
2022-09-04 08:08:15 +02:00
Sascha Ißbrücker
5841ba0f4c
Bump Django and other dependencies ( #331 )
...
* Bump Django and other dependencies
* Bump python version for CI
2022-09-04 07:15:09 +02:00
Sascha Ißbrücker
c9c6b097d0
Add support for authentication proxies ( #321 )
...
* add support for auth proxies
* Improve docs
2022-08-14 13:35:03 +02:00
Sascha Ißbrücker
1b67081773
Skip updating website metadata on edit unless URL has changed ( #318 )
...
* Skip updating website metadata on edit unless URL has changed
* Prevent form fetching metadata when editing existing bookmark
2022-08-13 11:21:26 +02:00
Rodrigo Candido Gryzinski
ee7ac775d2
Order tags in bookmark tests ( #310 )
2022-08-11 09:04:57 +02:00
s2marine
8053468ca5
Add support for context path ( #313 )
...
* Add support for context path
add an optional environment variable: LD_CONTEXT_PATH
* Fix for pull request code review comments
Co-authored-by: s2marine <s2marine@gmail.com>
2022-08-07 12:41:11 +02:00
Sascha Ißbrücker
dd5e65ecd7
Display selected tags in tag cloud ( #307 )
...
* Add links to remove tags from current query
* Display selected tags in tag cloud
* Add tag cloud tests
* Fix tag cloud in archive
* Add tests for bookmark views
* Expose parse query string
* Improve tag cloud tests
* Cleanup
* Fix rebase issues
* Ignore casing when removing tags from query
Co-authored-by: Jon Hauris <jonp@hauris.org>
2022-08-04 20:31:24 +02:00
Sascha Ißbrücker
fec966f687
Add bookmark sharing ( #311 )
...
* Allow marking bookmarks as shared
* Add basic share view
* Ensure tag names in tag cloud are unique
* Filter shared bookmarks by user
* Add link for filtering by user
* Prevent n+1 queries when rendering bookmark list
* Prevent empty query params in return URL
* Fix user select template tag name
* Create shared bookmarks through API
* List shared bookmarks through API
* Show bookmark suggestions for shared view
* Show unique tags in search suggestions
* Sort user options
* Add bookmark sharing feature flag
* Add test for share setting default
* Simplify settings view
2022-08-04 19:37:16 +02:00
Sascha Ißbrücker
e6718be53b
Update unread flag when saving duplicate URL ( #306 )
...
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
2022-07-26 00:13:41 +02:00
Sascha Ißbrücker
54ce6d5fe6
Add RSS feeds ( #305 )
...
* Add basic unread bookmarks feed
* Generate user-specific feed
* Add feed tests
* Add all bookmarks feed
* Add feed token admin
* Add note about renewing URLs
* Add support for query parameter
* Fix rebase issues
* Improve docs on feeds integration
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
2022-07-23 23:20:27 +02:00
Sascha Ißbrücker
13ff9ac4f8
Add read it later functionality ( #304 )
...
* Allow marking bookmarks as unread
* Restructure navigation to include preset filters
* Add mark as read action
* Improve description
* Highlight unread bookmarks visually
* Mark bookmarks as read by default
* Add tests
* Implement toread flag in importer
* Implement admin actions
* Add query tests
* Remove untagged link
* Update api docs
* Reduce height of description textarea
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
2022-07-23 22:17:20 +02:00
Sascha Ißbrücker
b618a8b10b
Do not associate tags if bookmark was not imported
2022-07-03 14:44:16 +02:00
Dustin Blackman
b53bd9f112
Bump waybackpy to 3.0.6 ( #281 )
...
* fix wayback
* fix tests
* Reuse user agent from website loader
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
2022-07-03 06:26:16 +02:00
wahlm
0829d00e5f
no duplication of imported tags ( #289 )
...
* no duplication of imported tags (#287 )
* Add importer test
* Revert settings test
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
2022-07-03 05:34:40 +02:00
Sascha Ißbrücker
68c3c27b38
Add PATCH support to bookmarks endpoint ( #269 )
...
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
2022-05-26 04:15:13 +02:00
kenc
792a19d15e
Allow creating archived bookmark through REST API ( #268 )
...
* Add POST archived API endpoint
* Update API docs
* Expose is_archived in existing POST endpoint
* Add test to verify bookmark not archived by default
* Fix JSON payload in API docs
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@googlemail.com>
2022-05-26 04:10:36 +02:00
Sascha Ißbrücker
2de6d8151b
Improve about section ( #265 )
...
* Improve about section
* Add changelog link
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
2022-05-21 21:33:08 +02:00
Sascha Ißbrücker
d7f257b3c6
Allow searching for untagged bookmarks ( #226 )
...
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
2022-05-21 09:50:51 +02:00
Sascha Ißbrücker
f4e3d724f0
Improve import performance ( #261 )
...
* Run import in batches, cache tags
* Use bulk operations for bookmarks and assigning tags
* Improve naming
* Restore bookmark validation
* Add logging
* Bulk create tags
* Use HTMLParser for parsing bookmarks
* add parser tests
* Add more importer tests
* Add more importer tests
* Remove pyparsing dependency
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
2022-05-21 09:27:30 +02:00
Sascha Ißbrücker
117160ea87
Enforce CSRF check for acknowledging toasts
2022-05-20 16:51:50 +02:00
Sascha Ißbrücker
f92c3dd403
Make Internet Archive integration opt-in ( #250 )
...
* Make web archive integration opt-in
* Add toast message about web archive integration opt-in
* Improve wording for web archive setting
* Add toast admin
* Fix toast clear button visited styles
* Add test for redirect
* Improve wording
* Ensure redirects to same domain
* Improve wording
* Fix snapshot test
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
2022-05-14 09:46:51 +02:00
Sascha Ißbrücker
3906d9e5b8
Prevent external redirects
2022-03-27 11:47:45 +02:00
Sascha Ißbrücker
eca98a13f5
Prevent bookmark actions through get requests
2022-03-27 10:56:09 +02:00
Sascha Ißbrücker
edb71286e7
Prevent external redirects
2022-03-25 18:29:54 +01:00
Sascha Ißbrücker
1ffc3e0266
Fix bookmark access restrictions
2022-03-22 02:24:21 +01:00
Sascha Ißbrücker
82b4268a26
Ensure tag names don't contain spaces ( #184 )
2021-12-12 22:54:22 +01:00
Sascha Ißbrücker
984eef92e2
Add password change view ( #168 )
2021-10-16 05:42:04 +02:00
Sascha Ißbrücker
eae6ca6e07
Merge API view with integrations view ( #165 )
2021-10-03 15:13:45 +02:00
Sascha Ißbrücker
4f9fcb41bd
Add bookmark link target setting ( #164 )
2021-10-03 09:35:59 +02:00
Sascha Ißbrücker
d87dde6bae
Create snapshots on web.archive.org for bookmarks ( #150 )
...
* Implement initial background tasks concept
* fix property reference
* update requirements.txt
* simplify bookmark null check
* improve web archive url display
* add background tasks test
* add basic supervisor setup
* schedule missing snapshot creation on login
* remove task locks and clear task history before starting background task processor
* batch create snapshots after import
* fix script reference in supervisord.conf
* add option to disable background tasks
* restructure feature overview
2021-09-04 22:31:04 +02:00
Sascha Ißbrücker
e47c00bd07
Add support for micro-, nanosecond timestamps in importer ( #151 )
2021-08-26 12:33:54 +02:00
Sascha Ißbrücker
8047ba6c63
Fix importer not validating bookmark models ( #149 )
2021-08-25 09:20:01 +02:00
ulixxe
048a8b1162
improve tag query performance ( #142 )
...
* changed query on tag search for speedup related to issues #112 and #141
* fix tests and only conditionally append tag filter
* add bookmark tags query tests
* reuse bookmark queries for tag queries
* fix tag query test setup
Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@googlemail.com>
2021-08-15 09:28:40 +02:00
Sascha Ißbrücker
3e48b22095
Add settings view tests
2021-05-14 23:34:53 +02:00