179 Commits

Author SHA1 Message Date
d9756369ff Fix root user creation error in tinode-db. 2023-07-02 10:28:51 -07:00
52f33fe301 fix for #860: hardcoded DB name + crash when DB is not initialized 2023-05-02 14:11:02 -07:00
66e70c3bb8 cleanup and a couple of bug fixes 2023-04-06 13:59:11 -07:00
d9fc193a74 Fixed docs (added info about PostgreSQL), added cache functions in adapter and little refactoring 2023-04-05 23:29:27 +03:00
a3a2f9e4df Added PostgreSQL adapter 2023-04-05 00:26:38 +03:00
aecd35efc5 merge next 2023-03-03 11:13:04 -08:00
459d18b555 load data only if DB was created or reset 2023-03-01 19:12:59 -08:00
52b2ff6aed better status message in init-db 2023-03-01 11:26:08 -08:00
f5fdddcc50 fix root user handling in init-db 2023-02-28 18:43:12 -08:00
d5fd2189ee Merge branch 'devel' into next 2023-02-14 16:00:41 -08:00
6dde89363b do not attempt to upgrade if db version is higher than expected 2023-02-14 14:54:56 -08:00
3a809f20ee Fix compile errors in tinode-db. 2023-02-14 10:46:42 -08:00
589046725d update db versions, fix copy-paste error 2023-02-01 12:58:28 -08:00
f03a93081a simplify management of root users 2023-01-07 18:06:15 -08:00
0ac7de2dfb replace math/rand with crypto/rand when generating secrets 2023-01-07 13:47:48 -08:00
86d6d7247d simplify creation of a root user 2022-11-26 15:47:11 -08:00
78c3230fda Fix Bug: When Init-DB by json file, ignore tags of user if defined 2022-11-08 20:29:47 +03:30
79a9f48eab give Alice a better last name 2022-02-08 10:57:05 -08:00
e79d032c59 make Tino "staff" account 2021-08-23 18:19:05 -07:00
a204a3077c better error handling in changing auth level 2021-08-17 17:50:15 -07:00
458a0c595a allow setting access level from tinode-db command line 2021-08-17 17:11:27 -07:00
9fbca71bd7 Merge branch 'devel' into next 2021-07-30 19:20:58 -07:00
e144d6c5ef blank line removed 2021-07-30 13:55:17 -07:00
82ebf006bd ensure a sane sequence of inserved messages 2021-07-29 19:38:44 -07:00
ea6ab9c2e1 a couple test fixes, init-db compiles now, regenerate python bindings 2021-07-22 19:25:37 -07:00
35285659ce clarify log record in init-db 2021-07-22 08:29:22 -07:00
ef33c363c3 clarify log record in init-db 2021-07-22 08:28:41 -07:00
9f8f300376 fix insertion of trusted from demo data 2021-06-25 10:35:28 -07:00
776492a30b "trusted" added to core and mysql 2021-06-24 17:29:08 -07:00
77b86ccbda renamed vCard -> theCard in a couple more places 2021-06-01 19:54:39 -07:00
2eb141331e updates to docs and sample data 2021-05-18 09:39:03 -07:00
69b63be38d fixed some lint warnings in tinode-db 2021-04-30 16:15:23 -07:00
49e0eff5cb fixed tests 2021-04-27 10:50:46 -07:00
f3e9c9dfe7 update tinode-db for the store interface changes 2021-04-21 15:45:26 -07:00
e1614c2d3e reference new avatars in data.json 2021-02-18 15:28:23 -08:00
2d51b4b30a removed old demo avatars 2021-02-18 15:27:33 -08:00
c97189f597 made demo avatars larger 2021-02-18 15:27:14 -08:00
af8d7ba97e Fix broken build: tinode-db/gendb.go. 2020-12-10 17:50:17 +03:00
2f3e6e7d6c Script to generate a synthetic Tinode dataset. 2020-10-20 00:37:28 -07:00
f19a4bad52 set correct permissions for invited channel admins 2020-09-01 16:27:28 -07:00
7f18b21b3e missing channel avatar 2020-08-27 16:41:50 -07:00
d6ac845a5e add channel to demo data and init-db 2020-08-27 15:54:12 -07:00
849c177b0b unsuspend Frank by default, remove debug logging 2020-06-21 10:11:58 +03:00
54dfd1918e replace DisposaBoy/JsonConfigReader with tinode/jsonco 2020-03-31 16:45:15 +03:00
7c0c039d7b add NO_DB_INIT param to init-db 2020-03-27 19:03:28 +03:00
1f25f0ca65 log formatting 2020-03-27 13:01:26 +03:00
fb3d4c589b defer logging adapter name & version till after config is read 2020-03-27 12:35:49 +03:00
208c669c56 log that data was ignored only when the data was provided 2020-03-27 12:04:58 +03:00
a7f0d1f269 gofmt 2020-03-27 09:51:18 +03:00
a6e275cc76 Add a logging message to say sample data ignored when an upgrade was requested. 2020-03-26 23:40:49 -07:00