Commit Graph

24 Commits

Author SHA1 Message Date
3d0854ac4c Use correct var 2023-07-13 11:34:42 +02:00
b5bb6f8480 Show nicer diff when merging 2023-07-13 11:33:55 +02:00
Georg Krause
3cdf24a5f3 fix(exporter): Default to toml as default format 2023-07-13 09:51:54 +02:00
735bb5fe6d Add merge functionality 2023-07-13 09:50:42 +02:00
2180f28c78 Add support for diff and deploy for GTS 2023-05-04 10:47:06 +02:00
27168a2a6e Allow missing values of remote block for GTS support 2023-05-04 10:38:25 +02:00
569cff0957 Add json 2023-05-03 15:40:27 +02:00
58429a39f0 Add csv format option 2023-05-03 15:09:12 +02:00
fe12631ee4 Remove double output, typo 2023-05-03 14:45:53 +02:00
46b0fe6b50 Rework exporter 2023-05-03 11:30:28 +02:00
3dce62417e refactor: Cleaner solution for exportable dict 2023-01-26 12:05:12 +01:00
8a8a725002 fix: Remove id from export
As this wil not be the same id on other instances exporting it does not make sense
2023-01-25 23:36:25 +01:00
58998e1c17 fix: Allow name to be empty in local blocklist 2023-01-25 23:35:04 +01:00
33fee03059 Merge branch 'develop' of https://git.gieszer.link/gcrkrause/mastodon-blocklist-deploy into develop 2023-01-13 08:12:35 +01:00
2066c0332d fix: Avoid exception when input is missing for diff and deploy 2023-01-13 08:12:29 +01:00
Georg Krause
229608a090
refactor: Avoid manually templating toml file entries 2023-01-12 17:11:10 +01:00
0b49740e83 feat: Allow token via environment variables 2023-01-12 16:22:03 +01:00
ce5c1ae39d refactor: Rename load_remote_blocklist->load_blocklist_from_instance 2023-01-12 16:16:18 +01:00
eaccce8c6e refactor: Add missing return types 2023-01-12 16:04:56 +01:00
066e77d493 refactor: Rename load_local_blocklist -> load_blocklist_file 2023-01-12 16:01:55 +01:00
Georg Krause
0ecc925373
fix: Avoid exception when output is missing for exports 2023-01-12 12:36:46 +01:00
c54beb76d3 fix #3
A conversion to a lowercase string is needed for boolean values
2023-01-12 09:03:37 +01:00
80d66b1919 Add some documentation 2023-01-12 08:40:25 +01:00
c1e4770b0e Restructure project to make a valid poetry project, add script 2023-01-12 08:00:36 +01:00