Andrew Ferrazzutti
7ed3ff34d5
Merge branch 'drop-psql-on-failure' into 'main'
...
Drop postgres schema on failed migration
See merge request signald/signald-go!13
2022-08-12 21:04:18 +00:00
Andrew Ferrazzutti
dd208b6e82
Exclude missing accounts from contact migration
...
Otherwise, moveContacts fails with a foreign key constraint violation.
2022-08-12 16:33:12 -04:00
Andrew Ferrazzutti
f15260d1ca
Drop postgres schema on failed migration
...
If db-move fails, don't leave behind a partially-created postgres DB
that will block attempts at future migrations.
Only delete schemas created by the current db-move, lest a valid,
pre-existing postgres DB exists that shouldn't be deleted.
2022-08-11 11:18:47 -04:00
finn
9928e5ffc2
fix migration 16 checksum
2022-06-27 11:46:58 -07:00
finn
12874dd6dc
fix migrations, closes !10
2022-06-27 10:00:11 -07:00
finn
b5af9d176b
bump protocol
2022-05-17 18:14:09 -07:00
finn
7ace3647c7
add new db migration code, add sqlite to postgres migration test in CI
...
hopefully this will keep migrations in sync
2022-05-17 17:59:24 -07:00
finn
b343c02f77
captcha helper support for send
...
feedback appriciated, I can't get captchas reliably
2022-05-17 09:02:03 -07:00
schubisu
890417af5d
remove incorrect alias
2022-05-12 14:42:09 +02:00
finn
8458f63316
update db-move to support migration version 14
2022-04-25 17:21:52 -07:00
finn
e50f392288
add signaldctl account request-sync
2022-04-25 17:05:37 -07:00
Ben Wiederhake
204657b38b
avoid races when sending requests
2022-04-10 22:41:24 +00:00
4e3feffaad
force linter job to golang 1.17 as golangci-lint seems to break on 1.18
2022-04-10 15:38:12 -07:00
finn
e8131dc928
fix mode on created directories
2022-03-28 10:06:22 -07:00
finn
0ff6400ce7
signaldctl: create config directory if missing
2022-03-28 09:42:37 -07:00
d8fdb8edb0
add table output to preview subcommand
2022-03-26 01:23:26 -07:00
ec276e5411
add group preview subcommand
2022-03-25 22:26:47 -07:00
7ff5492156
expose close() option for socket
2022-03-19 22:44:31 -07:00
2b1f0dada7
don't panic if we can't unmarshal a message from signald
2022-03-19 16:57:19 -07:00
0f3e6dce72
allow send to accept message from stdin
2022-03-19 01:38:25 -07:00
4bc97fb829
add signaldctl subscribe subcommand with initial test at a parsable output format
2022-03-19 01:37:14 -07:00
3ccb424f53
don't push messages with IDs to the channel
2022-03-15 19:14:42 -07:00
Sumner Evans
689d560eb1
move script: update for new contacts table
2022-03-07 21:25:43 -07:00
finn
8bb40967e5
forget e164s that don't start with a +
2022-03-02 15:16:28 -08:00
finn
fa1f0765d5
allow null recipient UUIDs
2022-03-02 13:42:12 -08:00
finn
21420e0d77
pending account data table uses string account identifier not uuid
2022-03-02 13:10:41 -08:00
finn
56cc98de30
fix queries
2022-03-01 16:56:56 -08:00
finn
17f823064f
reset the value generator for SERIAL columns after import
2022-03-01 16:00:37 -08:00
finn
9a371b8f91
fix apt publishing
2022-02-23 07:16:27 -08:00
finn
acc817a043
add db move subcommand
2022-02-22 15:46:27 -08:00
finn
946b27917d
bump protocol
2022-02-16 14:52:03 -05:00
219f1df6e5
gofmt no longer automatic on save... will investigate
2022-01-17 18:16:56 -08:00
e454d63249
breaking change: Listen() now returns BasicResponse
2022-01-17 18:15:23 -08:00
dd56e3d6f7
Fix indentation on signaldctl raw docs
...
closes signald/signald.org#4
2021-11-07 10:22:25 -08:00
149d44b705
Add an example to signaldctl raw
...
fixes #4
2021-11-07 10:18:27 -08:00
924e9c3767
bring protocol up to date
2021-11-02 21:26:30 -07:00
28b7d16568
Fix sending reactions
...
previous implementation had serious limitations. I realize the docs are awkward,
i'll look up how to use cobra one of these days
2021-10-17 15:01:20 -07:00
a535a63ba0
add signaldctl raw subcommand
2021-10-14 01:52:39 -07:00
25050d2f0e
fix unmarshal argument pointer
2021-09-30 00:50:10 -07:00
bfcb423cdf
add support for errors in the protocol
2021-09-30 00:39:54 -07:00
0f8b17383f
add a subcommand to get the current protocol document from a running signald instance
2021-09-24 02:24:04 -07:00
9a52532325
add group join subcommand
2021-09-14 19:01:38 -07:00
3cb60fd14f
fix new uuid library dependency
2021-09-01 20:42:59 -07:00
2fa9670efe
improve support for handling UUIDs
2021-09-01 20:24:56 -07:00
096152394a
Update protocol and add support for remote-config to signaldctl
2021-08-27 02:54:09 -07:00
Bohdan Horbeshko
ec3d46fcf3
Add account set-profile command
2021-08-26 21:10:02 +00:00
1cdfd16f11
force debian builds to buster
2021-08-25 17:00:23 -07:00
474897ea53
Fix version compiled into debian signaldctl
2021-08-07 13:43:56 -07:00
5b98b6b136
Refactor deb build and remove git pull before build
2021-08-07 13:29:42 -07:00
0a0bcd5e93
Try to fix the debian version tags
2021-08-07 13:29:42 -07:00