Commit graph

56 commits

Author SHA1 Message Date
summersamara bfb7e3ca40 introduce VITE_HOST env var and pass it to the node watcher vite --host 2023-11-23 15:33:31 +01:00
Thomas Citharel 105d3b5814
test: fix front-end tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-15 12:38:36 +01:00
Thomas Citharel 2e72f6faf4
build: switch from yarn to npm to manage js dependencies and move js contents to root
yarn v1 is being deprecated and starts to have some issues

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-11-14 17:24:42 +01:00
Thomas Citharel f28109ad50
fix(sitemap): save generated sitemaps in configurable directory
Previously in priv/static, now by default in production in /var/lib/mobilizon/sitemap and
configurable through the $MOBILIZON_SITEMAP_PATH ENV variable

Closes #1321

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-09-05 20:04:26 +02:00
Thomas Citharel e7e4ed2ac9
Add Ecto.DevLogger in dev mode
See https://github.com/fuelen/ecto_dev_logger

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 16:56:04 +01:00
Thomas Citharel 30b0d3ca08
Add GraphQL operation name, user ID and actor name in logs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-06 13:03:53 +01:00
Thomas Citharel 6675c62d94
Add unplug to dynamically load plugs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-21 10:15:47 +02:00
Thomas Citharel ee20e03cc2
Migrate to Vue 3 and Vite
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-08-11 16:46:31 +02:00
Thomas Citharel e841fb6fbb
Move mailer from Bamboo to Swoosh
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-04-05 12:38:02 +02:00
Thomas Citharel 377b83e02d
Fix export being outputted in the wrong directory in release mode
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-22 18:43:59 +01:00
Thomas Citharel 41bddebda2
Add ru and ar to dev locales
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-10 20:44:50 +01:00
Thomas Citharel 7e15b5fb7a
Set tzworld default dir in config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-09 09:15:32 +01:00
Thomas Citharel 7c4a76cc89
More bidi improvements
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-11-07 21:09:30 +01:00
Thomas Citharel 6bb0b6d08a
Improve Gettext compilation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-26 17:52:21 +02:00
Thomas Citharel d45bcae400
Add missing settings using ENV parameters in dev.exs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 18:10:21 +02:00
Thomas Citharel 8310ae46cd
Restore Docker development
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-03 18:10:21 +02:00
Thomas Citharel 3ff7bc4512
WIP vue-cli 5
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-04 13:32:07 +02:00
Thomas Citharel b1e6fcd73b
Make instance listen by default only on local interface
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-26 11:39:19 +01:00
Thomas Citharel e0acff267b
Fix some dev config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-23 15:18:22 +01:00
Thomas Citharel 63740eb67f
Set uploads directory to same directory in dev mode
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-03-16 18:51:17 +01:00
Thomas Citharel 846f7b71f3
Update some outdated dev config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-23 17:00:41 +01:00
Thomas Citharel a115b49b4c
Only load all locales in prod mode
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-17 15:42:03 +01:00
Thomas Citharel 7baad7cafc
Load only a few locales in dev environment
No need to load everything

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-11-06 12:03:20 +01:00
Thomas Citharel dac47d2abb
Add config option to allow anonymous reporting
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-09 14:07:49 +02:00
Thomas Citharel 7dbabcf15f
Add toggle to disable groups
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-08 16:47:57 +02:00
Thomas Citharel 4144e9ffd0
Introduce group basic federation, event new page and notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-06-03 16:01:26 +02:00
Cku cf6b3fbf31 Allow database port configuration for dev and test 2020-06-01 22:34:16 +02:00
Thomas Citharel 9e3df495dc
Move configuration to traditional way
️ This is the way.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-06 16:12:13 +01:00
Thomas Citharel 2ed9050a90
Add anonymous and remote participations 2020-01-29 17:28:11 +01:00
rustra 8856cc2f55 Rename MobilizonWeb to Mobilizon.Web 2020-01-26 21:39:49 +01:00
Thomas Citharel dc07f34d78
Introduce comments below events
Also add tomstones

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-28 12:33:58 +01:00
Thomas Citharel 3b210a33a2
Disable address autocomplete where required (nominatim)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-20 13:49:57 +01:00
Thomas Citharel c599a47d58
Introduce Mimirsbrunn geocoder and improve addresses & maps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-12 14:10:18 +01:00
Thomas Citharel 08dab070e7
Handle update identity with bad identity username
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-06 09:32:02 +01:00
Thomas Citharel b5f9518faf
Implement search engine & service in backend
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-23 15:27:11 +02:00
Thomas Citharel 77d286ebb6
Introduce Cypress
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-06 18:28:18 +02:00
Thomas Citharel cbb54e2b92
Fix (somehow) picture URL generation issue
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-03 15:35:38 +02:00
miffigriffi 4c74248a04 Merge branch 'master' into refactoring-based-on-credo-and-dialyzer 2019-09-22 00:40:53 +02:00
miffigriffi da97c29340 Move Email context under MobilizonWeb 2019-09-17 02:45:32 +02:00
Chocobozzz 82df0526ec
Edit events fixes and update cache 2019-09-09 14:41:19 +02:00
miffy fa037fd683 Separating of Storage context 2019-09-08 01:49:56 +02:00
Thomas Citharel c51115bdbe
Introduce relay
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-08-13 11:15:13 +02:00
Thomas Citharel 5fbaf42cad
Add address input and refactor federation stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-07-30 10:35:29 +02:00
Thomas Citharel f90089e1bf
Refactor media upload
Use Upload Media logic from Pleroma

Backend changes for picture upload

Move AS <-> Model conversion to separate module

Front changes

Downgrade apollo-client: https://github.com/Akryum/vue-apollo/issues/577

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-05-24 17:29:51 +02:00
Vincent ff7fd460f0
add make test and Remove vue-cli serve 2019-04-30 13:56:07 +02:00
Thomas Citharel cadbe6082a
Add a new Phoenix config option
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 13:53:11 +01:00
Thomas Citharel 256d50e855
Allow tag relations + bump ecto deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-21 16:58:14 +01:00
Thomas Citharel bbe4b57baf
➡ Rename mobilizon default dev hostname from .dev to .local
Because Google has .dev and it's HSTS preloaded 😔

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-04 16:12:40 +01:00
Thomas Citharel 6885c73aa8
Change configuration and docker compose
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-03 11:33:52 +01:00
Thomas Citharel 559c889f1b Rename project to Mobilizon
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-11 17:37:39 +02:00