Commit graph

67 commits

Author SHA1 Message Date
Mouse Reeve afa713e667 Adds locale to bw-dev update command 2022-01-04 13:23:28 -08:00
Mouse Reeve 1be164425a Merge branch 'main' into prettier 2021-12-27 13:39:34 -08:00
Joel Bradshaw faffbdce21 Fix spacing 2021-12-16 23:44:47 -08:00
Joel Bradshaw 37a7899f6f Consistently quote $@, check for argument
Also add $@ to a couple commands, and add a check for the argument to
the CORS command since it's required
2021-12-16 23:41:58 -08:00
Joel Bradshaw 8eb340945b Add sync_media_to_s3 command
This is useful if the copy gets aborted, or to sync over remnants
generated between the copy and the switchover to S3
2021-12-16 23:40:40 -08:00
Mouse Reeve 2fa1aa4cc7 Adds bw-dev command 2021-12-16 10:43:24 -08:00
Mouse Reeve 0794f1a286 Updates locales 2021-12-02 10:28:13 -08:00
Mouse Reeve 9961a08c93 Adds Galician locale 2021-11-17 10:02:39 -08:00
Mouse Reeve a26302683f List command in echo 2021-11-16 09:31:57 -08:00
Mouse Reeve 77f29a621f Adds command to pull locale updates 2021-11-16 09:29:58 -08:00
Mouse Reeve 3f5fe83950 Renames run web with service ports command 2021-11-07 06:21:13 -08:00
Mouse Reeve c2f44a9f1e Removed outdated add_locales command from doc 2021-11-07 06:19:38 -08:00
Mouse Reeve b2dea343af Removes outdated test command 2021-11-07 06:17:04 -08:00
Mouse Reeve 23549c7fdb Removes unused rundb command 2021-11-07 06:13:44 -08:00
Mouse Reeve 353ccc1d7d Updates references locale 2021-10-23 07:11:38 -07:00
Mouse Reeve ab3119031b Adds new locale command in bw-dev 2021-10-06 16:22:30 -07:00
Mouse Reeve 45e82abda4
Merge branch 'main' into images-django-imagekit 2021-08-11 12:47:25 -06:00
Mouse Reeve 590338138c Populate streams tasks 2021-08-07 17:44:40 -07:00
Joachim 6a365eafb4
Merge branch 'main' into images-django-imagekit 2021-08-06 19:16:01 +02:00
Joachim f3274098b5 Update bw-dev 2021-08-03 18:10:06 +02:00
Mouse Reeve 01334b6613 Fixes merge wonkiness in bw-dev 2021-08-02 17:55:30 -07:00
Mouse Reeve fc8db58cdb Merge branch 'main' into suggestions-redis 2021-08-02 16:40:57 -07:00
Joachim 7754b490fa Bring consistency to management commands 2021-08-02 22:40:19 +02:00
Mouse Reeve af34dc6520
Merge branch 'main' into images-django-imagekit 2021-08-02 13:43:59 -06:00
Joachim 78aa31afd5 Merge remote-tracking branch 'upstream/main' into storage-s3 2021-08-01 11:38:32 +02:00
Joel Bradshaw b4c6587972 Fix bw-dev resetdb, some tweaks to bw-dev
The main fix here is for resetdb, it previously was failing to drop the
db for me, because `web` was up and running and using the database. This
commit spins up db by itself first so it can drop and re-create the
database successfully, then brings up web to run the migrations.

While I was in here, I also updated it so that when running `bw-dev`
without any command it will also print the helptext, rather than just
exiting silently, got rid of the double-echo of the helptext, and added
runweb/rundb commands to run arbitrary commands via bw-dev.
2021-07-05 13:20:14 -07:00
Joachim e251b687dc Merge remote-tracking branch 'upstream/main' into images-django-imagekit 2021-06-19 19:32:56 +02:00
Joachim a1189b40b6 Fix bw-dev multiline output 2021-06-19 17:18:13 +02:00
Joachim 42b1aecb94 Merge remote-tracking branch 'upstream/main' into storage-s3 2021-06-19 17:12:07 +02:00
Joachim d862be0564 Merge remote-tracking branch 'upstream/main' into storage-s3 2021-06-19 11:53:05 +02:00
Joachim e309bb104f Fix command name in bw-dev error message 2021-06-19 11:18:03 +02:00
Mouse Reeve 5b6048e4c6 Merge branch 'main' into suggestions-redis 2021-06-18 16:48:04 -07:00
Mouse Reeve 973b23856c
Merge branch 'main' into opengraph-image-generation 2021-06-17 15:17:54 -07:00
Mouse Reeve ef71da7ef0 Fixes interaction tests 2021-06-14 16:23:17 -07:00
Joachim 280be59c46 Refactor AWS command 2021-06-08 18:19:52 +02:00
Joachim 311042a59b Add S3 CORS command 2021-06-07 23:20:27 +02:00
Joachim e904c202a9 Add command copy_media_to_s3 2021-06-07 21:40:37 +02:00
Joachim d105ae9c78 Merge remote-tracking branch 'upstream/main' into images-django-imagekit 2021-06-07 19:53:11 +02:00
Mouse Reeve 7c2dc81501 Corrects variable name in locales 2021-06-06 13:58:41 -07:00
Joachim 61367c3f4f Protect generate_preview_images command
- add `--all` argument
- send computation intensive tasks to Celery
2021-05-28 17:25:20 +02:00
Mouse Reeve b29ca22227 A couple test mocks 2021-05-27 17:29:24 -07:00
Joachim 65de40a95a Add generate_preview_images command 2021-05-26 13:52:10 +02:00
Joachim 77e81c4dbb Add django-imagekit to BookWyrm 2021-05-24 16:14:51 +02:00
Mouse Reeve 98e537280e Adds management command for populating suggestions 2021-05-22 16:10:11 -07:00
reese e4b432246a replace venv3 with venv, makemessages for es, compilemessages for es 2021-04-22 16:28:57 -05:00
Mouse Reeve 514afdc12d Use run instead of exec for bw-dev web commands
The issue I had with this initially was the `clean` part, not the `run`
part
2021-04-07 09:02:39 -07:00
Mouse Reeve c0f7cbc5f0 Consistent wording in bw-dev command 2021-04-02 11:20:56 -07:00
Mouse Reeve 87d1aa71a2 Adds populate streams to bw commands 2021-03-28 11:46:07 -07:00
Mouse Reeve acbebbe947 Formats code changes 2021-03-08 10:10:30 -08:00
Mouse Reeve 99fa54d7bd
Merge pull request #630 from jimfingal/jim/makeitblack
Proof of concept adding `black` command
2021-03-08 07:09:24 -08:00