Commit Graph
68 Commits
Author SHA1 Message Date
Benedikt Kulmann f52fbdf5ee Switch log level to Fatal when specified assets don't exist
If the service is started with an assets path and it doesn't exist, the
service should exit instead of just logging a warning and defaulting to
the builtin assets.
2020-08-13 12:44:43 +02:00
Benedikt Kulmann 372cf88a4f Make linter happy 2020-07-24 16:04:11 +02:00
Benedikt Kulmann 5fc55ad518 Hide search bar for built in phoenix config
Since file search is not supported in ocis yet, we made a PR to phoenix
to hide the searchbar when the respective config option is set to true.

As we're using a builtin config, we need to provide that by default.
2020-07-24 15:12:46 +02:00
Lukas Hirt e1e272096d Release 0.10.0 2020-07-17 12:07:40 +02:00
Vincent Petry 29507151a0 Prepare release 0.9.0 with updated assets 2020-07-10 15:42:51 +02:00
Jörn Friedrich Dreyer 26a1b6f98b add silent refresh middleware
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-07-07 14:08:18 +02:00
Michael Barz 61fc0de7e1 Update ocis-web to 0.11.1 2020-06-29 19:42:12 +02:00
Vincent Petry 542eeb65ad Update Phoenix to 0.11.0 2020-06-26 13:46:05 +02:00
Vincent Petry ad20597358 Prepare release 0.7.0 2020-05-26 15:20:45 +02:00
Lukas Hirt ea6f1720a4 Update phoenix assets and ocis-pkg 2020-04-28 13:12:36 +02:00
Lukas Hirt 4db82a5c3d Update Phoenix and prepare release 2020-04-14 22:26:53 +02:00
Michael Barz 03ba801650 Update assets 2020-03-31 15:43:28 +02:00
A.Unger 961da9b8f0 comment exported ParseConfig func 2020-03-18 13:02:28 +01:00
A.Unger f737dd6aa6 parse configuration on before hook on server command 2020-03-18 12:54:46 +01:00
A.Unger 57d90d7fcf move vipoer config parsing to its scope 2020-03-18 12:54:31 +01:00
Jörn Friedrich Dreyer 6738304669 integrate with current ocis config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-17 18:08:12 +01:00
Michael Barz e8b9629460 Update phoenix to 0.6.0 2020-03-16 17:19:18 +01:00
Jörn Friedrich Dreyer 5a49176ed8 Update to phoenix v0.5.0
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-03-03 09:53:37 +01:00
A.Unger 6a247ebe0e override default config values when config file is present 2020-03-02 12:13:54 +01:00
Jörn Friedrich Dreyer 06f50c42c2 Update flagset.go (#42) 2020-02-13 21:44:18 +01:00
Ilja Neumann 575ed20626 Set ocis-konnect defaults 2020-02-13 21:17:30 +01:00
Jörn Friedrich Dreyer cbd696c538 update ocis-pkg to v2.0.1 and micro/cli to v2
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-10 12:25:06 +01:00
Jörn Friedrich Dreyer 4eabdad540 Revert "update ocis-pkg to v2.0.1 and micro/cli to v2"
This reverts commit 83c820e6a7.
2020-02-10 12:22:42 +01:00
Jörn Friedrich Dreyer 83c820e6a7 update ocis-pkg to v2.0.1 and micro/cli to v2
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-10 12:17:03 +01:00
Thomas Müller 5390ca28ef In case the http server cannot be started the error is logged 2020-01-28 11:40:12 +01:00
A.Unger 1b73f3e7be rename flag to singular 2020-01-27 09:06:32 +01:00
A.Unger 8fc3593a75 Update micro alongside micro to v2, remove cli flags parsing monkeypatch for web-config-apps 2020-01-27 08:58:58 +01:00
David Christofas 0fabe3b0c4 fix: remove flagset options
Flagsets are not necessary for initializing the web server/service.
Passing them will cause micro to call the flagset function again which
then overrides the given value with the default value.

Fixes #33
2020-01-22 16:14:07 +01:00
Jörn Friedrich Dreyer 8a9fc2f33c files must be loaded before draw io
related: https://github.com/owncloud/phoenix/issues/2891
2020-01-17 14:46:33 +01:00
Jörn Friedrich Dreyer 85fc6ee2ec Merge branch 'master' into change-default-port-for-oidc-to-reva 2020-01-17 10:10:44 +01:00
Jörn Friedrich Dreyer 0ad66e074d add default apps
files,pdf-viewer,markdown-editor,media-viewer work
draw-io seems broken
2020-01-17 09:33:16 +01:00
Jörn Friedrich Dreyer de59eb3111 change default port for oidc to reva idp
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-16 22:45:53 +01:00
A.Unger 761e114666 use ocis-pkg@master until a new release is out 2020-01-15 15:58:56 +01:00
A.Unger 534c8a715a move string flag parsing functionality over to ocis-pkg 2020-01-15 14:21:56 +01:00
A.Unger e3e2e4127d added utils to flagset 2020-01-15 11:24:26 +01:00
A.Unger a628356fe8 update usage for web-config-apps flag 2020-01-15 11:10:45 +01:00
A.Unger 4aa049ec5e remove unused variable 2020-01-15 11:05:18 +01:00
A.Unger aa74f44b08 StringSlice flag to String, rename EnvVar to PHOENIX_WEB_CONFIG_APPS 2020-01-15 10:47:21 +01:00
Thomas Müller 1b82c81dcf Update to v0.2.7-alpha1 2020-01-14 16:00:12 +01:00
Jörn Friedrich Dreyer ec66aaf029 Fix external_apps config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-11 21:15:03 +01:00
Thomas Müller 819c7bec7b Merge pull request #23 from owncloud/feature/22
Fixes #22 - update to phoenix 0.2.6
2020-01-09 16:27:33 +01:00
Jörn Friedrich Dreyer 07e0a20d0d dynamically render config.json
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-01-09 15:50:27 +01:00
Thomas Müller 95d647b09b Fixes #22 - update to phoenix 0.2.6 2020-01-09 14:05:19 +01:00
A.Unger 4155720666 update refs to config.Phoenix.Namespace 2019-12-24 11:43:18 +01:00
A.Unger 69e594ace5 move namespace option under HTTP 2019-12-24 11:41:42 +01:00
A.Unger 5708f07a37 use value from config 2019-12-18 13:11:33 +01:00
A.Unger b922327074 use http namespace 2019-12-18 12:58:02 +01:00
A.Unger 276aa69451 hardcode web 2019-12-18 12:51:28 +01:00
A.Unger d6a80470f2 added namespace option 2019-12-18 12:51:09 +01:00
A.Unger da729b6319 added http-namespace flag 2019-12-18 12:50:00 +01:00