1
0
Fork 0
mirror of synced 2024-05-17 02:43:16 +12:00
Commit graph

2866 commits

Author SHA1 Message Date
Nick Sweeting 0aa75c861b
also install npm packages when testing brew package 2021-12-23 15:56:28 -05:00
Nick Sweeting 9850333b88
Update _config.yml 2021-12-23 15:43:13 -05:00
Nick Sweeting f144f7b5c6 bump brew disk version 2021-12-23 15:39:49 -05:00
Nick Sweeting 2c7be14bb7
Merge pull request #909 from ArchiveBox/dependabot/npm_and_yarn/jszip-3.7.1 2021-12-23 12:55:25 -05:00
Nick Sweeting d6a856264f
Merge pull request #910 from ArchiveBox/dependabot/npm_and_yarn/ansi-regex-5.0.1 2021-12-23 12:55:15 -05:00
dependabot[bot] 2c3a25765f
Bump ansi-regex from 5.0.0 to 5.0.1
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-23 17:49:43 +00:00
dependabot[bot] 1f7e15e3c0
Bump jszip from 3.6.0 to 3.7.1
Bumps [jszip](https://github.com/Stuk/jszip) from 3.6.0 to 3.7.1.
- [Release notes](https://github.com/Stuk/jszip/releases)
- [Changelog](https://github.com/Stuk/jszip/blob/master/CHANGES.md)
- [Commits](https://github.com/Stuk/jszip/compare/v3.6.0...v3.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-23 17:49:42 +00:00
Nick Sweeting 559c395c1e
run archivebox version after homebrew bottle build 2021-12-23 12:49:03 -05:00
Nick Sweeting d7f01922f3
fix direct assignment of tags to many-to-many set 2021-12-23 12:29:17 -05:00
Nick Sweeting b1b7ee2b85
Update sql.py 2021-12-23 12:17:55 -05:00
Nick Sweeting f363738aae
Merge pull request #908 from hannah98/dev 2021-12-21 00:24:48 -05:00
hannah98 4b8962b60b Fix #725 - correctly parse tags on json import 2021-12-20 08:58:58 -06:00
Nick Sweeting 989937796a
Merge pull request #906 from tuupola/bug-901 2021-12-19 23:46:27 -05:00
Mika Tuupola f14a861605 Change logfile open to write mode only 2021-12-19 23:17:33 +02:00
Nick Sweeting ea0d9c1d99
Update README.md 2021-12-17 17:55:40 -05:00
Nick Sweeting e3d4d0aa91
Merge pull request #904 from TheCakeIsNaOH/hints-string 2021-12-17 16:53:36 -05:00
TheCakeIsNaOH decab91ea2
(#847) Decode error output hints to string if needed 2021-12-16 16:46:12 -06:00
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
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