Commit graph

138 commits

Author SHA1 Message Date
Mouse Reeve
60b2453d4d Fixes bw-dev stylelint command 2022-02-16 17:34:14 -08:00
Mouse Reeve
6f90c80494 Gets stylelint command working 2022-02-16 13:13:11 -08:00
Mouse Reeve
714bb081ea Updates workflows 2022-02-15 12:25:35 -08:00
Mouse Reeve
b601ac6f91 Adds dev tools docker image 2022-02-12 14:06:18 -08:00
Mouse Reeve
30ad3bba0b Suggest stylelint --fix in CI and add to bw-dev 2022-02-12 09:00:38 -08:00
Mouse Reeve
e9e4f70ae4 Refresh web and celery in update command 2022-02-08 09:17:42 -05:00
Mouse Reeve
b5baf1620f
Merge pull request #1897 from bookwyrm-social/verify-image-types
Check image extensions before saving
2022-02-02 11:04:52 -08:00
Mouse Reeve
6fd3ac0cb1 Changes how test image data is loaded 2022-02-02 09:36:47 -08:00
Mouse Reeve
f84241b085
Merge pull request #1804 from cincodenada/run-not-exec
Use run --rm instead of exec for initdb
2022-02-02 09:10:28 -08:00
Mouse Reeve
eeee62cd04 Adds Swedish to the app 2022-01-24 09:39:13 -08:00
Mouse Reeve
ec63ca3817
Merge branch 'main' into run-not-exec 2022-01-22 15:51:42 -08:00
Mouse Reeve
0c2537e27a
Merge pull request #1527 from bookwyrm-social/book-file-links
Book file links
2022-01-13 11:10:05 -08:00
Mouse Reeve
b76cb0a22f Adds update command to main for bw-dev 2022-01-13 08:52:22 -08:00
Mouse Reeve
dcf51020bc Removes initialization from migration
Just doesn't seem right
2022-01-10 13:05:08 -08:00
Joel Bradshaw
29ebfc456d Use run --rm instead of exec for initdb
This way we don't depend on the containers already being up and running.
2022-01-09 23:57:57 -08:00
Mouse Reeve
ac1787ce6b Merge branch 'main' into new-languages 2022-01-08 16:54:31 -08:00
Mouse Reeve
02a963c4ef Adds locales to application 2022-01-08 07:38:14 -08:00
Mouse Reeve
6168ce91b3
Merge branch 'main' into list-not-loading 2022-01-05 16:33:05 -08:00
Mouse Reeve
afa713e667 Adds locale to bw-dev update command 2022-01-04 13:23:28 -08:00
Mouse Reeve
975ef7d38e Merge branch 'main' into list-not-loading 2021-12-30 10:44:23 -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
e9c58295f3 Merge branch 'main' into list-not-loading 2021-12-09 11:10:26 -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
903aaaf4c4 Adds management and bw-dev commands 2021-11-16 10:41:08 -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
Jim Fingal
33cf03df74 Add black command to bw-dev 2021-03-07 19:43:36 -08:00
Mouse Reeve
821862a891 Updates bw-dev makemessages default flags 2021-03-02 11:51:49 -08:00
Mouse Reeve
1d206c3739 Fixes (hopefully) makemessages command 2021-03-01 09:55:54 -08:00
Mouse Reeve
4f76d21b85 Snags more strings for i18n 2021-02-27 18:48:10 -08:00
Mouse Reeve
27316678d5 Adds test german translations
with apologies to actual german speakers
2021-02-27 16:44:58 -08:00
Mouse Reeve
2d3767bce8 Adds makemessages command to bw-dev shortcuts 2021-02-27 13:47:10 -08:00
Joel Bradshaw
1e13997c5d Create an actual user, add missing file
Also allow `./bw-dev up -d`

I'm not sure why this was necessary, but it makes enough sense
2021-01-13 23:02:56 -08:00
Joel Bradshaw
48147883ce Merge branch 'main' into progress_update 2021-01-13 19:53:26 -08:00
Mouse Reeve
e6f6395143 don't show coverage report when tests fail 2021-01-04 10:08:23 -08:00
Mouse Reeve
da05b99bb8 Fixes incoming shelve activity 2020-12-15 18:57:17 -08:00
Joel Bradshaw
f86140c7e4 Move -x down to eliminate pointless noise 2020-11-27 17:39:15 -08:00
Joel Bradshaw
3b0b8f16f6 Merge migration branches
Also add $@ to bw-dev migrations, and factor the shift 1 out
2020-11-27 16:08:04 -08:00
Mouse Reeve
efa5d5ef2c Adds ci test runner 2020-11-27 11:42:25 -08:00
Mouse Reeve
ff5a0f7bc2 Adds alt text to status images 2020-11-24 11:44:13 -08:00
Joel Bradshaw
726842adef Merge branch 'main' into rename-app 2020-11-20 19:06:40 -08:00
Joel Bradshaw
f5f900a6e7 Figured out a way to give a nice error message
This way if we fail to parse old .env's folks should be able to figure
it out
2020-11-19 17:44:46 -08:00
Joel Bradshaw
e4f2625b02 Move fr-dev to bw-dev and alias it as fr-dev 2020-11-19 13:50:59 -08:00