Gustavo Trott
520c76007a
Move Hasura password path from /usr/share/bbb-graphql-server/admin-secret to /etc/default/bbb-graphql-server-admin-pass
...
It was recommended by Danimo because /etc is for mutable stuff
It also adds comments with context about this file
The owner is set to root:root and permission 600 to be only readable by root (also Danimo suggestion)
2024-09-10 15:01:57 -03:00
Gustavo Trott
88057f5bc8
add a messaged to confirm it finished after-install
2024-09-02 15:07:28 -03:00
Gustavo Trott
ac043b93a5
try to fix tests timeout error
2024-09-02 15:03:08 -03:00
Gustavo Trott
48c891450a
build: relax bbb-graphql-server dir permission ( #21085 )
...
* relax bbb-graphql-server dir permission
* move gql-server dir permission
2024-08-30 18:08:51 -04:00
Gustavo Trott
4f22dca3de
build: relax bbb-graphql-server dir permission ( #21084 )
2024-08-30 17:56:58 -04:00
Gustavo Trott
f96a400ca4
build: remove permission for /usr/share/bbb-graphql-server/ ( #21083 )
2024-08-30 17:27:56 -04:00
Gustavo Trott
acff8ba0f8
refactor (build/gql-server): Introduce Hasura override config and a file to store Adm Password ( #20993 )
...
* Introduce Hasura override config and a password file
* Add message when set a password to Hasura
* add logs to inspect errors
* fix config file name
* test changing key file owner
* test without override file
* fix print status
* store password as env var
* changes suggested in PR
2024-08-30 10:49:58 -04:00
Gustavo Trott
7e0295d0a9
Removes old PG user/tabled created for Meteor auth
2024-07-19 11:38:46 -03:00
Gustavo Trott
7f68928790
build(fix): force Hasura to always restart on upgrade ( #20689 )
2024-07-12 10:53:21 -04:00
Gustavo Trott
e92dacd039
fix (build/gql-server): Hasura trying to apply metadata using wrong password ( #20637 )
...
* fix: Hasura trying to use wrong password to apply metadata
* Print password was set only when it generated a new one
2024-07-05 10:26:54 -04:00
Gustavo Trott
ca4717c92d
set hasura cli config with correct password
2024-05-08 11:44:44 -03:00
Gustavo Trott
2cc54680af
fix echo with error
2024-05-07 15:10:31 -03:00
Gustavo Trott
deea562e23
Avoid changing hasura password on every upgrade
2024-05-07 14:57:19 -03:00
Gustavo Trott
ff9bcc774b
Generate a Hasura random password on after-install.sh
2024-05-07 14:29:35 -03:00
Gustavo Trott
ac4608ca65
Set a different password for Hasura admin
2024-05-07 11:39:34 -03:00
Anton Georgiev
c9ce945aa5
Merge branch 'v3.0.x-release' into cleanup/runuser
2024-02-20 13:38:33 -05:00
Gustavo Trott
8ac28cfe81
Always give permisson for Frontend user in db
2024-02-02 10:52:50 -03:00
Gustavo Trott
6e43c0b05c
Graphql: Create a db user (read-only) for Frontend ( #19537 )
2024-01-30 12:35:39 -03:00
Daniel Molkentin
4f5b773798
cleanup: use runuser instead of sudo
...
In a lot of place where sudo is used, it is meant to drop privileges
coming from root, instead of gaining privileges or lateral privilege
moves (e.g. postgres). This is what runuser is for, so use that.
2023-11-28 15:26:12 +00:00
Gustavo Trott
73ed4ad294
refactor (graphql-server): Hasura cli skip update check ( #18853 )
...
* Hasura-cli add param --skip-update-check
* Upgrade Hasura version to 2.33.4
2023-09-26 14:24:36 -03:00
Gustavo Trott
be8f224eea
Improve graphql database install ( #18821 )
2023-09-21 10:53:13 -03:00
Gustavo Trott
6c97385823
Improve delay for Hasura metadata apply ( #18791 )
2023-09-15 12:51:47 -03:00
Gustavo Trott
61c4792b8a
Merge pull request #18779 from gustavotrott/fix-userlist-sorting
...
fix (graphql): Userlist sorting uppercase wrongly (introduces user.nameSortable)
2023-09-14 15:51:02 -03:00
Gustavo Trott
6132656daf
Avoid applying metadata before Hasura is ready
2023-09-14 10:41:40 -03:00
Gustavo Trott
2f53dea4a4
Use nameSortable to orderBy userlist
2023-09-14 09:31:49 -03:00
Gustavo Trott
94328e7e77
Upgrade Hasura to version 2.32.1 and change hasura-cli path
2023-08-29 11:01:23 -03:00
Gustavo Trott
8d3f8be6ff
Fix creating database hasura_app twice
2023-08-23 09:26:32 -03:00
Anton Georgiev
a2a9041993
build: /.dockerenv tweak for bbb-graphql-server
...
continuation from #18548
2023-08-14 16:01:52 -04:00
Anton Georgiev
e1f8117146
build: /.dockerenv tweak for bbb-graphql-server
2023-08-14 15:37:22 -04:00
Gustavo Trott
77b784446c
Set all date columns as timestamp with time zone
2023-08-08 10:41:16 -03:00
Anton Georgiev
69fc0ee34b
undo remove create db bbb_graphql
2023-07-20 21:25:30 -04:00
Anton Georgiev
543be9e44e
sfu after-install to not mention kurento
2023-07-19 20:31:02 -04:00
Anton Georgiev
6689a91ece
use /usr/share/bbb-graphql-server as conf source
2023-07-19 11:28:44 -04:00
Anton Georgiev
e013c63078
build: Packaging for bbb-graphql-middleware
2023-07-17 16:26:07 -04:00
Anton Georgiev
4920eac3cd
build: copy over config.yaml for graphql
2023-05-10 17:59:23 -04:00
Anton Georgiev
3aa6774120
build: copy over config.yaml for graphql
2023-05-10 17:57:18 -04:00
Anton Georgiev
b83089f982
build: correct path to hasura executable
2023-05-10 16:41:18 -04:00
Anton Georgiev
9526ad5b7d
build: drop db before creating it
2023-05-10 16:26:42 -04:00
Anton Georgiev
16f3104725
build: drop db before creating it
2023-05-10 16:07:44 -04:00
Anton Georgiev
c01cf7913d
build: bbb-graphql-server copy metadata and bbb_schema.sql
2023-04-28 14:36:38 -04:00
Anton Georgiev
8fddbfc9cf
build: introducing bbb-graphql-server package
2023-04-28 13:32:09 -04:00