Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload fix #769

Merged
merged 4 commits into from Nov 9, 2019
Merged

Upload fix #769

merged 4 commits into from Nov 9, 2019

Conversation

ikreymer
Copy link
Collaborator

@ikreymer ikreymer commented Nov 9, 2019

Fixes for upload/import functionality. Limit total number of pages and bookmarks, and include bookmark import in the progress.

Previously, bookmark/page processing was taking significant amount of time, while progress bar was at 100%, resulting in confusion/seeming that app has stalled.

- limit pages and bookmarks to 10000
- add settings to limit bookmarks and pages separately
- include page and bookmark creation in progress bar
before, page/bookmark creation was taking a long time but not included in progress update
should fix #768, likely webrecorder/webrecorder-player#87, webrecorder/webrecorder-player#78, webrecorder/webrecorder-player#86
- correct page filter
- optimize: use zscan_iter() for iterating over pages, add polyfill for fakeredis to still use zrange
@codecov
Copy link

codecov bot commented Nov 9, 2019

Codecov Report

Merging #769 into master will decrease coverage by 0.12%.
The diff coverage is 29.62%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #769      +/-   ##
==========================================
- Coverage   74.04%   73.92%   -0.13%     
==========================================
  Files          65       65              
  Lines        8570     8589      +19     
  Branches     1339     1342       +3     
==========================================
+ Hits         6346     6349       +3     
- Misses       1823     1839      +16     
  Partials      401      401
Impacted Files Coverage Δ
webrecorder/webrecorder/models/importer.py 63.36% <23.8%> (-1.75%) ⬇️
...order/webrecorder/standalone/webrecorder_player.py 54.05% <50%> (-0.5%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 245a297...66d0d2e. Read the comment docs.

@ikreymer ikreymer merged commit fd448c1 into master Nov 9, 2019
@ikreymer ikreymer deleted the upload-fix branch November 9, 2019 22:29
ikreymer added a commit to webrecorder/webrecorder-player that referenced this pull request Nov 10, 2019
* Fix missing 'preload.js', was not bundled correctly
* Add Flash version display to version stack
* Update to pywb 2.4.0 (rc1)
* Fix loading of large files, include page indexing in progress bar (Rhizome-Conifer/conifer#769)
* Latest WR submodule with various additional fixes.
* Update to Electron 6.1.4
* Bump version to 1.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant