Commit graph

37 commits

Author SHA1 Message Date
Roland
265c08f25c
Testing that react app can be built and started. 2024-05-08 19:16:55 -06:00
Roland
ee99803586
Testing node 22. 2024-05-08 18:18:52 -06:00
Roland
d50534b0b7
Storing junit test results file. 2024-05-07 10:50:06 -06:00
Roland
8ad653fc40
Testing that api can start. 2024-05-07 10:39:00 -06:00
Roland
58de8c7c5b
Upgrading Sanic and yt-dlp. Major changes occurred because Sanic changed how multiprocessing works.
Python 3.11 is now required, old versions were causing unpredictability in tests.  (Sanic does not yet
support 3.12)

Sanic has been upgraded to 23.6.0, which is the latest version that avoids this bug:
 https://github.com/sanic-org/sanic/issues/2921

New strategy for multiprocessing is to create all multiprocessing tools in one process, then fork
to other processes.  The previous strategy was to declare multiprocessing tools at the top of every
file, or wherever they were needed at import/creation.  Now all multiprocessing tools are attached to the
app.shared_ctx.  This means `api_app` is imported in many, many places.

This forced a change in how the DownloadManager works.  Previously, it would continually run
download workers which would pull downloads from a multiprocessing.Queue.  Now, a single worker checks
for new downloads and sends a Sanic signal.

Flags have been reworked to use the `api_app`.  I removed the `which` flag functionality because the
`which` are called at import and needed their own multiprocessing.Event.
2024-04-30 10:55:25 -06:00
Roland
00fe799b8f
User can select from/to years when searching files. Indexing doc and docx files. 2024-03-07 12:12:48 -07:00
Roland
758ff8e810
Creating background process that fetches comments for Videos that do not yet have comments.
Displaying star for Uploader's comments, heart for favorited comments.

Adding wrolpi help files desktop shortcut to rpi image.

Using zim file names as FileGroup.title.

Removing accidental output commit.
2024-03-01 17:15:56 -07:00
Roland
1209fa8054
Modifying pytest config to test wrolpi directories. 2024-02-12 11:56:46 -07:00
Roland
a4aceb3cfc
Adding Node 20 test. 2024-02-10 21:58:35 -07:00
Roland
e1621fb57b
Removing React 12 Circle CI test. 2024-02-05 14:27:18 -07:00
Roland
04cb24e579
Adding Node 20 to circle ci tests. 2023-11-29 21:26:58 -07:00
Roland
63e8512fb2
Changing cache name to avoid Circleci issue. 2023-04-10 16:52:32 -06:00
Roland
023e6c771e
Adding three library to help circleci tests pass. 2023-04-05 10:47:56 -06:00
Roland
d0be1ea774
Changing cache name to force stl viewer installation. 2023-04-05 10:44:23 -06:00
Roland
06f99abac4
Testing Python 3.11. 2023-03-01 13:25:58 -07:00
Roland
cedbff9f9c
Using small container for circleci. 2023-02-09 14:21:46 -07:00
Roland
a658c357a6
Caching based on version and requirements checksum only. 2023-01-07 20:23:14 -07:00
Roland
b1d8e33cd8
Modifying CircleCI config to also test React App. Caching Python venv on CircleCI. 2023-01-07 20:05:25 -07:00
Roland
162357554a
Including app-tests in circleci jobs. 2023-01-07 18:55:07 -07:00
Roland
84802eaf66
Updating dependencies for App testing. 2023-01-07 18:53:22 -07:00
Roland
f639e01951
Removing Latex as dependency. Using browser to convert OTP pads into printable documents. 2022-06-26 16:27:56 -06:00
Roland
82b58e40c0
Removing 3.11. 2022-03-09 19:16:50 -07:00
Roland
47964ef845
Adding 3.11 to circleci tests. 2022-03-09 19:16:14 -07:00
Roland
3debc87bf0
Fixing job names. 2022-03-09 19:13:21 -07:00
Roland
3ee9492c37
Testing multiple python versions. 2022-03-09 19:09:09 -07:00
Roland
76aee2620d
Renaming circleci job. 2022-03-09 18:40:25 -07:00
Roland
4697014d97
Opening download urls in new tab. 2022-03-09 18:16:45 -07:00
Roland
52e183c7ce
Installing latex. 2022-02-20 11:33:32 -07:00
Roland
4a85f66889
Calling pytest relatively. 2022-02-20 11:28:53 -07:00
Roland
1ca8746967
Updating before installing. 2022-02-20 11:26:58 -07:00
Roland
5076e95a80
Installing ffmpeg. 2022-02-20 11:26:14 -07:00
Roland
aaf07bdfd6
Installing requirements into venv directory, caching it. 2022-02-20 11:24:43 -07:00
Roland
d40c3a5994
Changing db port. 2022-02-20 11:22:33 -07:00
Roland
96e624a75d
Upgrading postgres image. 2022-02-20 11:19:19 -07:00
Roland
7094958477
Changing db environment. 2022-02-20 11:18:22 -07:00
Roland
dbcbe98918
Adding test instructions to circleci. 2022-02-20 11:15:49 -07:00
lrnselfreliance
f442e94183 Add .circleci/config.yml 2022-02-20 10:59:30 -07:00