1
0
Fork 0
mirror of synced 2024-06-24 00:50:23 +12:00
Commit graph

3050 commits

Author SHA1 Message Date
Nick Sweeting b279c30b8d
Update docker-compose.yml 2021-12-16 05:18:33 -05:00
Nick Sweeting 63fc835a70
link to archivebox-exporter browser extension 2021-12-06 16:23:31 -05:00
Nick Sweeting b40a1e19d1
comment out healthcheck 2021-12-02 21:03:19 -05:00
Nick Sweeting 84b927e3e5
change header title 2021-11-16 21:13:19 -05:00
Nick Sweeting 44f5338470
fix typo in pocket_api articl variable name 2021-11-12 19:23:47 -05:00
Nick Sweeting 8878dcc5e8
Merge pull request #843 from bltavares/patch-1 2021-11-12 15:57:19 -08:00
Nick Sweeting d5240f1a1d
Merge pull request #885 from adamwolf/safari-admin-actions 2021-11-12 08:56:31 -08:00
Nick Sweeting f809e3be46
Merge pull request #886 from adamwolf/safari-add 2021-10-30 18:07:58 -07:00
Adam Wolf 18e1fb0d96 Fixes Add button behavior on Safari
Previously, when you clicked the Add button, the page wouldn't change.

It looked like it wasn't doing anything, as noted by @rcarmo
(https://github.com/ArchiveBox/ArchiveBox/issues/658#issuecomment-948300055)

I didn't track it down the exact reason why. It may be that Safari
didn't like the two opening <h3>s, but I was able to find a bunch of
people complaining about Safari being very finicky with innerHTML
and actually repainting the page, enough that I decided to try just
extending the block hide/show behavior already done with the
delay-warning, and it works for me now in both Chrome and Safari.

For #658.
2021-10-28 22:31:54 -05:00
Adam Wolf 83731f5a68 Tweak JS so Safari can choose admin actions
I noticed that Safari was submitting both the empty option and the
selected options back to the server.

Digging into it, I was able to get Safari to deselect the ---------
option by using '[selected]' as the selector.

For #658
2021-10-28 22:22:46 -05:00
Nick Sweeting c20c3be02e
Merge pull request #884 from adamwolf/dev-docs 2021-10-28 09:58:35 -07:00
Adam Wolf 3b6ef764c5 Update README.md
Bind the data directory when initializing a dev environment using
Docker.
2021-10-28 10:01:34 -05:00
Nick Sweeting b54076054c
Update README.md 2021-10-26 02:02:23 -04:00
Nick Sweeting aaa459082d
Update README.md 2021-10-26 01:58:16 -04:00
Nick Sweeting 569a4582dd
Merge pull request #873 from ajgon/feature/healthcheck 2021-10-21 15:08:57 -07:00
Igor Rzegocki 05de1c9fe6
healthcheck endpoint 2021-10-03 19:12:03 +02:00
Igor Rzegocki 95cf85f8cf
Support for Reverse Proxy authentication backends (like authelia) 2021-09-30 17:40:13 +02:00
Bruno Tavares bb2a2e758a
Avoid KeyError on Pocket API parser
When trying to import my pocket library I got a lot of ` KeyError`  on Python. Pocket API has a few idiosyncrasies, such as sometimes returning the keys on json, sometimes not.

` ` ` sh
archivebox add --parser pocket_api pocket://my_username
` ` ` 

Gave me this errors
` ` ` 
  File "/app/archivebox/parsers/pocket_api.py", line 54, in link_from_article
    title = article['resolved_title'] or article['given_title'] or url
KeyError: 'resolved_title'
` ` ` 

This commit are the patches I've changed to successfully import my library
2021-09-07 21:53:36 -03:00
Nick Sweeting 63693bdc77
add nix install instructions, thanks @siraben! 2021-08-11 11:12:58 -04:00
Nick Sweeting 2e5937d9e1
Merge pull request #822 from overhacked/bug_pinboard_rss
Fix Pinboard RSS parsing valid links as `None`
2021-08-04 12:23:40 -04:00
Ross Williams f6cf35a45d Fix Pinboard RSS parsing valid links as None
`item.find(p)` returns either an `ElementTree.Element` or `None`.  The
[lambda on line 24][lambda] coerces the return value to a bool, which is
`False` if the `<link>` element has no children (see
[`ElementTree.py` line 207][etbooldef]), so the lambda returns `None`.

Further, returning a `Link` with `url=None` violates
[an assertion in `index/schema.py`][assertion], which crashes
the `archivebox add` command.

[lambda]: 3d54b1321b/archivebox/parsers/pinboard_rss.py (L24)
[etbooldef]: 3d8993a744/Lib/xml/etree/ElementTree.py (L207)
[assertion]: 3d54b1321b/archivebox/index/schema.py (L165)
2021-08-04 10:13:37 -04:00
Nick Sweeting 3d54b1321b
Merge pull request #804 from munzevibirinsan/patch-1 2021-07-21 08:28:08 -04:00
munzevibirinsan ee86eb534d
Update setup.sh 2021-07-21 13:24:31 +03:00
Nick Sweeting 2427e6d3dc
Merge pull request #799 from Inndy/dev
Discard Referer header from iframe and link to original URL
2021-07-19 10:16:52 -04:00
Inndy 0e81a0722e Discard Referer header from iframe and link to original URL 2021-07-19 21:48:01 +08:00
Nick Sweeting ca819b8015
Update README.md 2021-07-07 06:55:07 -04:00
Nick Sweeting 9100ad63a7
Merge pull request #784 from ArchiveBox/dependabot/npm_and_yarn/ws-5.2.3
Bump ws from 5.2.2 to 5.2.3
2021-07-07 00:44:33 -04:00
dependabot[bot] 1084f6aacc
Bump ws from 5.2.2 to 5.2.3
Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 03:42:46 +00:00
Nick Sweeting 767e32c08c bump version number 2021-07-06 23:42:05 -04:00
Nick Sweeting 5a2c78e14b add proper support for URL_WHITELIST instead of using negation regexes 2021-07-06 23:42:00 -04:00
Nick Sweeting e4974d3536 support negation patterns by checking both re.search and re.match 2021-07-06 23:17:05 -04:00
Nick Sweeting 65d452fe7b
add documentation for contributing a new extractor 2021-07-01 22:48:39 -04:00
Nick Sweeting f6aad7f9a3
Merge pull request #777 from tjhorner/exempt-add-from-csrf
Exempt /add route from CSRF
2021-07-01 21:40:10 -04:00
TJ Horner cdcfb7fa44 Exempt /add route from CSRF 2021-07-01 20:55:51 -04:00
Nick Sweeting 66f17cb46b
Merge pull request #766 from Namdrib/dev
Docs: Improve spelling on readme
2021-06-10 21:01:44 -04:00
Namdrib 6cffe7fa0f Docs: Improve spelling on readme 2021-06-07 21:36:28 +09:30
Nick Sweeting e0a2b2e252 ominous warnings 2021-06-01 03:03:42 -04:00
Nick Sweeting aa53fe653c fix use of uneeded perms arg 2021-06-01 02:58:36 -04:00
Nick Sweeting c2d1a57581 fix umask dir permissions 2021-06-01 00:50:18 -04:00
Nick Sweeting 4715ace7dd ignore BaseException lgtm errors 2021-05-31 20:59:05 -04:00
Nick Sweeting 9f1470cf03 fix output permissions tests 2021-05-31 20:57:46 -04:00
Nick Sweeting 8230f88d80 change default OUTPUT_PERMISSIONS to disallow execution except on dirs 2021-05-31 19:31:51 -04:00
Nick Sweeting 1112526543 add option ENFORCE_ATOMIC_WRITES to allow disabling forced FSYNC writes on network drives 2021-05-31 19:31:51 -04:00
Nick Sweeting e529f550d8
Update README.md 2021-05-13 05:34:03 -04:00
Nick Sweeting ecc178b87f
Update README.md 2021-05-13 05:31:40 -04:00
Nick Sweeting 9dbc9d64fb
Update README.md 2021-05-13 05:27:48 -04:00
Nick Sweeting 11a7c4ef11
Update README.md 2021-05-13 05:24:36 -04:00
Nick Sweeting a7fb8556ff
Update README.md 2021-05-13 05:21:49 -04:00
Nick Sweeting decd18eea0
Update README.md 2021-05-13 05:14:39 -04:00
Nick Sweeting 254ff41b1a
Update README.md 2021-05-13 05:11:54 -04:00