Commit Graph

194 Commits

Author SHA1 Message Date
Miroslav Šedivý c74b6c15d2 update dockerignore. 2021-07-29 22:43:44 +02:00
Miroslav Šedivý 8e0b69ad4a add docker in docker docs. 2021-07-29 22:43:37 +02:00
Miroslav Šedivý 4bd486714d set low priority on neko-rooms traefik. 2021-07-29 22:22:39 +02:00
Miroslav Šedivý 7eb1f27b70 add match all rule for no domain. 2021-07-29 22:21:53 +02:00
Miroslav Šedivý 81013dc36d update neko images. 2021-07-29 21:57:10 +02:00
Miroslav Šedivý 408556f08d allow usage without domain. 2021-07-29 21:55:47 +02:00
Miroslav Šedivý 2f2e28074b move labels to custom file. (#24) 2021-07-27 19:42:50 +02:00
Miroslav Šedivý b05fe9ee39 fix favicon and title. 2021-07-25 15:52:56 +02:00
Miroslav Šedivý cdf3bf115f embed swal2 as static html file. 2021-07-24 16:03:12 +02:00
Miroslav Šedivý fac5292470 text proofread. 2021-07-17 20:31:32 +02:00
Miroslav Šedivý f51cbb1470 add storage to docs, fixes #22. 2021-07-17 20:27:52 +02:00
Miroslav Šedivý 2406694c04 http not found handler function. 2021-07-17 20:07:59 +02:00
Miroslav Šedivý 7e11074932 client assets relative. 2021-07-17 19:52:47 +02:00
Miroslav Šedivý 97c47641bf private storage: chown only if not exists #19. 2021-06-19 14:28:00 +02:00
Miroslav Šedivý b183c1e052 github actions. 2021-06-13 14:36:15 +02:00
Miroslav Šedivý d52b057e8d Merge pull request #17 from whalehub/code-refactoring
install: Code refactoring
2021-06-13 12:00:54 +02:00
Aaron a3cc707399 install: Convert NEKO_IMAGES variable to array
Signed-off-by: Aaron <admin@datahoarder.dev>
2021-06-13 10:43:42 +02:00
Aaron e36570df14 install: Code refactoring
Formats the `install` script in accordance with Google's Shell Style Guide using `shfmt` and applies fixes for issues that were found by the static analysis tool `shellcheck`.

Style changes
- Consistent two space indentation.
- Consistent formatting of `for ... do` loops and `if ... then` code blocks.
- Consistent brace-delimiting of variable names.
- Consistent upper-case spelling of variable names.
- Consistent alphabetic ordering of packages installed/removed by `apt-get`.
- Explicit error codes for `exit` commands.
- All error messages sent to `STDERR`.
- Use of `[[ -z "${VAR}" ]]` instead of `[[ "${VAR}" == "" ]]`.

Shellcheck fixes
- Double quote variables to prevent globbing and word splitting. [SC2086]
- Use `{ cmd1; cmd2; } >> file` instead of individual redirects. [SC2129]
- Useless `echo`. Instead of `echo $(cmd)`, just use `cmd`. [SC2005]
- To redirect stdout+stderr, `2>&1` must be last. [SC2069]
- `read` without `-r` will mangle backslashes. [SC2162]

The variable `NEKO_IMAGES` is purposefully left unquoted in the `for ... do` loop on L245 since it is an array where we do want word splitting to happen.

Signed-off-by: Aaron <admin@datahoarder.dev>
2021-06-13 10:27:31 +02:00
Miroslav Šedivý f209c3765d Merge pull request #16 from whalehub/patch-1
install: Simplify echo sequence
2021-06-09 16:00:50 +02:00
Aaron b9485d8586 install: Simplify echo sequence
The shell built-in "echo" preserves newlines by default, so there is no need to issue a new echo command for every new line in a formatted text. This version is not only faster, but easier and less error prone to edit as well.

Signed-off-by: Aaron <admin@datahoarder.dev>
2021-06-09 14:25:46 +02:00
Miroslav Šedivý 3bad871612 clarify authentication #13. 2021-06-08 10:48:42 +02:00
Miroslav Šedivý 2d8e009376 add custom neko images in install script. 2021-06-08 10:34:00 +02:00
Miroslav Šedivý 79984eaf28 add google-chrome. 2021-06-08 10:31:36 +02:00
Miroslav Šedivý 9252df12a4 use reload icon. 2021-05-31 22:21:23 +02:00
Miroslav Šedivý 4baacdd704 add recreate to GUI. 2021-05-31 22:18:01 +02:00
Miroslav Šedivý 9a3e78fa8c add coom recreate #12. 2021-05-31 21:32:41 +02:00
Miroslav Šedivý 0b381ab264 move container start to api. 2021-05-31 21:15:04 +02:00
Miroslav Šedivý 654bfb3c01 remove unused utils. 2021-05-31 21:03:31 +02:00
Miroslav Šedivý 28ea3e678a remove unnecessary exit from install. 2021-05-31 21:00:42 +02:00
Miroslav Šedivý 8cf90ad8a5 traefik typo in example email. 2021-05-31 20:59:44 +02:00
Miroslav Šedivý 923f17cb26 update install script. 2021-05-31 20:58:54 +02:00
Miroslav Šedivý 909b82d9d7 env vars client swap key/val. 2021-05-29 23:23:37 +02:00
Miroslav Šedivý fb7b44312c add zero-knowledge installation to readme #7. 2021-05-22 23:40:04 +02:00
Miroslav Šedivý e21cbb29ae Install script #7. 2021-05-22 23:28:56 +02:00
Miroslav Šedivý a024f8f883 Merge pull request #9 from m1k1o/persistent-data
Allow persistent data for container
v1.2
2021-05-22 20:11:35 +02:00
Miroslav Šedivý dcdd2ab8a7 update roadmap. 2021-05-22 20:11:20 +02:00
Miroslav Šedivý e434059676 fix mount types on FE. 2021-05-22 20:10:41 +02:00
Miroslav Šedivý acb0b0a1a1 client: multiple mount types. 2021-05-22 19:25:26 +02:00
Miroslav Šedivý 0f08168dff add external path to dev. 2021-05-22 19:25:14 +02:00
Miroslav Šedivý 3cb777e047 add mount types. 2021-05-22 17:54:36 +02:00
Miroslav Šedivý 97b577ff55 add mounts hint. 2021-05-22 01:19:37 +02:00
Miroslav Šedivý 51b527dace set storage uid and gid. 2021-05-22 01:03:06 +02:00
Miroslav Šedivý e63c43e150 add internal & external storage. 2021-05-22 00:45:09 +02:00
Miroslav Šedivý edba322ba0 fix container name test on client. 2021-05-22 00:40:21 +02:00
Miroslav Šedivý ab0a70bcdd Merge branch 'master' into persistent-data 2021-05-20 22:40:41 +02:00
Miroslav Šedivý 98d56f40ef NewUID only a-zA-Z0-9 chars. 2021-05-20 22:40:24 +02:00
Miroslav Šedivý 70c9dc2a84 make random room name shorter. 2021-05-20 22:40:00 +02:00
Miroslav Šedivý 0e99dd5fb0 mounts instead of binds. 2021-05-20 22:03:50 +02:00
Miroslav Šedivý f2935b998d remove colon path limitation. 2021-05-20 21:57:28 +02:00
Miroslav Šedivý f523b94911 settings mount: remove root folder. 2021-05-20 00:39:22 +02:00