Commit Graph

237 Commits

Author SHA1 Message Date
Дамян Минков 2ee8f1ef58 Updates postinst prosody (#2896)
* Creates conf.d in /etc/prosody if missing.

Fixes a problem installing prosody 0.10 when using prosody repositories.

* Cleanups certificates on purge.

There are various occasions where users purge packages and the new installations after that generate certificate which doesn't end up in the java trust store on the target machine.

* Generate jicofo user and component passwords if missing.

There are situations where if prosody is already installed, the order of configuring the packages is not in the correct order. In those situations jitsi-meet-prosody got configured before jicofo and the user password and the component secret are not available and we ask the user for that and later when jicofo is configured we generate new set of them. Now we will end up always generating them in jitsi-meet-prosody or jicofo and we will reuse them. See https://github.com/jitsi/jicofo/pull/283.
2018-04-30 15:19:30 -07:00
Saúl Ibarra Corretgé ff8386e931 debian: fix setting the auth domain certificates
In 94813bc0fd (diff-6e9552c9bd8e61c8f277c21220160234)
two local variables got removed (AUTH_KEY_FILE and AUTH_CRT_FILE), which are used by the sed command
below to configure the virtualhost for auth.
2018-03-11 16:05:14 -05:00
damencho b49e600267 Cleanup, removes unused obsolete files. 2017-12-07 11:14:21 -06:00
damencho 5a3f952a2f Uses prosodyctl default inputs. 2017-12-07 11:14:21 -06:00
damencho 94813bc0fd Changes owner to prosody of newly created certificates. Fixes #2244. 2017-12-07 11:14:21 -06:00
damencho 64b11b571f Fixes error in case prosody host config is missing in conf.d folder. 2017-10-13 08:43:00 -05:00
damencho 3e1cd6151d Updates prosody config to have certificates for the auth. domain.
The certificates are generated on new install or upgrade and added to the current configuration and also to the trusted certificates on the local machine.
2017-10-06 16:51:30 -05:00
damencho c1fb1a7def Installs required basexx when token package is installed. Fixes #1870.
Adds some debug messages when token verification fails for some reason.
2017-08-08 23:13:25 +03:00
virtuacoplenny da1c760abf feat(notifications): implement a react/redux notification system (#1786)
* feat(notifications): implement a react/redux notification system

* squash into impl explicit timeout, style

* ref(notifications): convert toastr notifications to use react

* ref(toastr): remove library

* squash into conversion: pass timeout

* squash into clean remove from debian patch
2017-07-28 12:56:49 -05:00
damencho 9e728e4b25 Fixes crashing jwt util for anonymous domains.
Room name verification crashes when we have a configured anonymousdomain as it doesn't have any token extracted data. It is safe to skip this check as room creation is verified by jicofo and we have the option restrict_room_creation to admin users.
Removes obsolete print when updating jitsi-meet-tokens.
2017-05-16 08:21:46 -05:00
damencho ede5be119f Skips changing prosody config on upgrading jitsi-meet-tokens package. 2017-05-12 16:12:15 -05:00
Aaron van Meerten afc96808e8 added support of static directory in debian install and Makefile for source package 2017-03-20 19:22:06 -05:00
damencho 1d7da21e48 Moves all static content/files in a new folder.
Also clears debian package from including *.js files from source roote folder, files which were not used.
2017-03-20 16:05:11 -05:00
damencho 8591fe00b6 Adds a script which install certificates from let's encrypt.
The script looks for nginx, apache2 or jetty configuration and edits the first one found. Nginx and apache2 will be reloaded, while jvb will be stopped, configured and started again.
2017-03-17 14:49:10 -05:00
Saúl Ibarra Corretgé b01ad360da Move miscellaneous files to resources 2017-02-23 10:01:19 +01:00
Lyubomir Marinov 0051b3b79c Clean up obsolete file references 2017-01-26 07:58:56 -06:00
damencho 3c369a4c67 Fixes missing ssi for logging_config.js when meet served from jetty. 2016-12-29 11:18:39 -06:00
damencho 7d81ec4d86 Simplifies dependencies, removes possible circular dependency. 2016-12-07 11:14:20 -06:00
damencho 685d117a91 Fixes custom cert and key files for apache config. 2016-11-29 23:54:19 -06:00
damencho e51f791ab0 Configures to use apache when this is the available web server. 2016-11-29 23:11:15 -06:00
damencho 4d0701cfda Fixes build. Wrong changelog file. 2016-11-28 14:18:23 -06:00
damencho 8da0d3a1f1 Removes dependencies to other components.
Now the web app can be installed separately from jicofo and jitsi-videobridge, or can be installed on machine running nginx or apache. Currently only nginx will be configured and apache config is left to user. Later we can add and the apache config. Renames jitsi-meet to jitsi-meet-web (just the web content) and jitsi-meet-web-config (configuring jetty, nginx or apache). A new jitsi-meet package will be introduced, a meta package depending on jicofo, jvb and the current packages.
2016-11-28 13:13:08 -06:00
Boris Grozev 65300b34df refactor: removes unused code. 2016-08-15 22:57:36 -05:00
damencho ec98e6fdff Revert "Skips the analytics file from main folder when creating deb." Excluding file, excludes it and from subfolders.
This reverts commit 157bb1931d.
2016-08-11 12:53:37 -05:00
damencho 157bb1931d Skips the analytics file from main folder when creating deb. 2016-08-10 15:47:54 -05:00
damencho 1454a28a69 Fixes serving interface_config when using jetty. 2016-08-03 11:53:21 -05:00
paweldomas 9f3c209096 Switch back to 'luajwt' in order to fix broken JWT
Temporarily reference 'luajwtjitsi' luarock for immediate
deployment until our changes with RS256 support
eventually get merged with the master
2016-08-02 12:35:48 -05:00
damencho 64475143cf Removes keyring dependency to switch to new build machine. 2016-06-30 15:31:35 -05:00
damencho c1122eae3a Adds dependency to new keyring and new repo update. 2016-06-30 15:22:22 -05:00
damencho 6715d41f92 Removes unused dependency.
Used to minimize strophe-plugins which were inside the source tree and now npm handles them.
2016-06-21 10:38:31 -05:00
hristoterezov 8deb003ef6 JWT client support 2016-06-13 16:11:44 -05:00
damencho ed9fd6c8fd Adds property for initial jetty ssi configuration. 2016-06-02 12:27:47 -05:00
hristoterezov 4a1175d44f Fixes comments after review 2016-03-28 17:42:20 -05:00
paweldomas 2dba1d9d17 Requires prosody-trunk at least 607 for jitsi-meet-tokens 2016-01-19 12:59:22 -06:00
paweldomas 428fa3f16a New JWT token impl that does not require token verification in Jicofo and uses anonymous authentication method(token goes as BOSH query param). Adds 'allow_empty_token" config option. 2016-01-19 12:59:06 -06:00
paweldomas ac8e1ce388 Configures Jicofo when jitsi-meet-tokens package is installed 2016-01-19 12:58:59 -06:00
damencho 1bb5188ac8 Simplifies the check for installed nginx, fixes purge when nginx was not used. 2015-11-09 16:26:13 -06:00
damencho f005606428 Reverts messing with css files. 2015-11-09 12:36:01 -06:00
paweldomas 7ff7545570 Reload Prosody after successful tokens install. 2015-11-03 11:14:01 -06:00
paweldomas ca89b59638 Fixes for jitsi-meet-tokens Debian package. 2015-11-03 11:11:54 -06:00
paweldomas 9406669aae Fix for jitsi-meet-tokens 2015-11-02 15:28:19 -06:00
paweldomas 531b81cce3 Adds Prosody plugin for token authentication. 2015-11-02 15:28:18 -06:00
damencho a755f4dd56 Removes unused dependencies. 2015-10-07 13:36:48 -05:00
damencho a6f8c53947 Removes unused files from deb package. 2015-10-07 12:00:08 -05:00
Boris Grozev 3a66283f46 Fixes the css file path included in the debian package. 2015-10-06 15:21:44 -05:00
Boris Grozev d0b254ca15 Merges css files. 2015-10-06 15:19:01 -05:00
damencho cc7d8b8a0d Removes unused minification. 2015-10-06 11:22:42 -05:00
damencho df0563d8d5 Updates the license put in debian package. 2015-10-01 15:12:34 -05:00
damencho 5a254ba949 Uses jvb config file from the new location. Fixes a problem where reconfiguring can break package installation due to missing jvb config file. 2015-09-09 15:15:23 -05:00
damencho 74c531aed6 Uses port definition rather then wild card address when configuring authbind. 2015-09-01 14:25:11 -05:00
damencho 138785b466 Removes strophe debian package dependency in order to use the available version from source. 2015-08-26 16:50:23 -05:00
damencho 3289f6f68e Updates nginx detection during configuration. 2015-07-30 14:59:31 -05:00
damencho a701821698 Fixes updates on distributions that are missing openjdk 8. 2015-07-30 14:36:44 -05:00
damencho f8b7d048b0 Updates meet default installation. Removes nginx dependency and adds openjdk-8 in order to activate multiplexing inside jvb and use its jetty to serve meet. Updates will not touch current configuration which will continue using nginx. 2015-07-27 16:07:22 -05:00
George Politis 5f48e4cf9d Revert "Updates the license headers."
This reverts commit 93648f361b.
2015-06-18 18:59:41 +02:00
George Politis 93648f361b Updates the license headers. 2015-06-18 16:17:09 +02:00
Damian Minkov 224dff7481 Updates patch. 2015-06-11 11:56:08 +03:00
Damian Minkov 643b2024c0 Reloads wrong service on remove jitsi-meet-prosody. 2015-06-11 11:55:01 +03:00
Damian Minkov a093b455b3 Fixes debian packaging checking wrong template. 2015-03-26 13:19:50 +02:00
Damian Minkov fb5550bc38 Fixes debian package watch file. 2015-03-21 16:48:53 +02:00
Damian Minkov bc5565251c Removes some links when reconfiguring. 2015-03-21 14:18:11 +02:00
Damian Minkov 4f548ce748 Adds description to the patch. 2015-03-21 14:18:11 +02:00
Damian Minkov 0faeb450c0 Drops use of Pre-Depends. 2015-03-21 14:18:11 +02:00
Damian Minkov 30f3168bf7 Adds watch file for the deb. 2015-03-05 19:23:55 +02:00
Damian Minkov 115f2e4663 Updates the patch for debian src package. 2015-03-05 19:23:29 +02:00
Damian Minkov fa15a75928 Updates missing-source location. 2015-03-05 18:01:27 +02:00
Damian Minkov 4db75446f3 Do not edit /etc/nginx/nginx.conf file directly. 2015-03-05 17:52:05 +02:00
Damian Minkov eec513e9e3 Adds admins line after muc component. 2015-02-12 13:50:21 +02:00
hristoterezov b32acf0dfb Fixes the multi language support for the debian package. 2015-02-09 12:24:11 +02:00
Damian Minkov 78801aa9e5 Fixes deb package. 2015-01-05 16:58:55 +02:00
Damian Minkov cd266f60d7 Fixes building deb packages. 2015-01-05 16:41:38 +02:00
Damian Minkov b3a4b8a1cf Fixes configuring prosody which can break also jicofo configuration, the missing domain will fail later creating admin account for jicofo. 2014-12-17 09:40:45 +02:00
Damian Minkov ba627718be Creates prosody conf.avail if missing. 2014-12-16 17:01:14 +02:00
paweldomas 36065b935c Old prosody config improvement - patch by Damian Minkov. 2014-12-05 14:04:15 +01:00
paweldomas 91c3c9ca83 Restarts jvb and jicofo on upgrade. 2014-12-04 12:40:13 +01:00
paweldomas 4b8eef0f3e Adds 'jicofo' to jitsi-meet-prosody Depends. 2014-12-04 12:31:41 +01:00
paweldomas f749bed1dd Adds jicofo debian package integration. 2014-12-02 20:11:54 +01:00
Damian Minkov c5bf2f86ca Fixes purge jitsi-meet-prosody (missing debconf configs). 2014-11-17 12:16:34 +02:00
Damian Minkov 13846b022c Fixes configuring certs if files already placed in /etc/ssl. 2014-11-17 11:44:24 +02:00
Damian Minkov 7475b3a66a Fixes purging config for jitsi-meet-prosody. 2014-11-17 11:44:23 +02:00
Damian Minkov 1602af0229 Migrates jitsi-videobridge config file. 2014-10-23 16:38:59 +03:00
Damian Minkov 8f9c6de0b6 Fixes purging configuration. 2014-10-23 11:14:54 +03:00
Damian Minkov 380cdcdd65 Adds dirs file. 2014-10-23 11:14:54 +03:00
Damian Minkov 9ee0dc26c4 Removed unused files. 2014-10-23 11:14:54 +03:00
Damian Minkov 75586431a4 Moves config.js in /etc/jitsi/meet. 2014-10-23 11:14:54 +03:00
Damian Minkov ee324cf41f Adds prosody config to conf.avail and enable it in conf.d so we don't wipe prosody config on installing meet. 2014-10-23 11:14:53 +03:00
Damian Minkov 79a318d0e0 Adds dependency to jquery debian package. 2014-10-23 11:14:53 +03:00
Damian Minkov d9d1f010ab Updates debian package with dependency to yui-compressor, which generates min versions of some libs (strophe plugins). 2014-10-23 11:14:53 +03:00
Damian Minkov a4c8c8b95c Removes usr/share/doc/ from debian folder. Fixes build. 2014-10-21 10:05:25 +03:00
Damian Minkov 2df001c125 Removes usr/share/doc/ from debian folder. 2014-10-20 11:40:54 +03:00
Damian Minkov 286d21f647 Removes unused dependencies. 2014-10-20 10:41:30 +03:00
hristoterezov 380b1de723 Implements the title of the page to be generated as server-side include. 2014-09-30 16:05:28 +03:00
Damian Minkov e1ce5ae283 Fixes detecting whether prosody was newly configured on update/install. 2014-09-29 18:00:20 +03:00
Damian Minkov 5a9ddc3a27 Adds config.js to the list of configuration files for deb package. 2014-09-29 17:55:58 +03:00
paweldomas 8c64d3192b Adds advertisement of XEP-0115 capabilities to MUC presence. 2014-09-25 12:23:16 +02:00
Damian Minkov 750c4f6cf8 Fixes initial connect of jitsi videobridge after configuring prosody. 2014-09-17 16:52:20 +03:00
Damian Minkov 7f341d0d8a Fixes postinst script. 2014-09-16 15:41:51 +03:00
Damian Minkov 78cafadb99 Adds dependency to libjs-strophe package. 2014-09-16 12:58:52 +03:00
Damian Minkov 02d283208b Fixes prosody config extract. 2014-09-05 16:11:53 +03:00
Damian Minkov a201ef2823 Removes unused part of config. 2014-09-05 16:01:43 +03:00
Damian Minkov 427d6708ad Fixes prosody config extract. 2014-09-05 15:59:57 +03:00
Damian Minkov c456ef6cb2 Changes changelog with debian ITP bug to be closed. 2014-09-05 15:24:58 +03:00
Damian Minkov ae7403753f Changes default prosody config. 2014-09-05 15:24:58 +03:00
Damian Minkov 0680df56fd Changes default prosody config to be plain file, changes dependencies. 2014-09-05 15:24:58 +03:00
Damian Minkov e1f61ad1a5 Adds lintian-overrides. 2014-09-04 14:35:30 +03:00
Damian Minkov bd543c4b75 Fixes errors in postinst, not using our template and error about grep test. 2014-09-04 12:00:12 +03:00
Damian Minkov a03f43a881 Fixes errors in postinst. 2014-09-04 10:46:05 +03:00
Damian Minkov a37a1dc750 Fixes lintian errors, template needs to be updated, remove executable bit from non executable files. 2014-09-03 18:26:51 +03:00
Damian Minkov 7765b9fe5e Fixes lintian errors. 2014-09-03 18:00:24 +03:00
Damian Minkov 086dfe9278 Removes unused files. 2014-09-03 16:49:36 +03:00
Damian Minkov cfa6ae33ee Adds check to skip generate certs if they already exists on update. 2014-09-03 12:52:08 +03:00
turint c5edb4b5a3 Fixes SSL debconf questions. 2014-09-03 12:52:08 +03:00
turint f0a237d537 Fixes debconf questions for SSL. 2014-09-03 12:52:08 +03:00
turint e994916b25 Fixes a typo. 2014-09-03 12:52:08 +03:00
turint eeb9df55d5 Adds missing templates. 2014-09-03 12:52:08 +03:00
turint d0b58b6d53 Adds certificate choices to debconf. 2014-09-03 12:52:08 +03:00
turint c5adfac561 Fixes jitsi-meet-prosody install dirs and jitsi-meet rules. 2014-09-03 12:52:07 +03:00
Damian Minkov 9d98b3a29e Does not override prosody config on update. 2014-08-29 12:53:42 +03:00
Damian Minkov 53582abdaa Does not override nginx config on update. 2014-08-28 10:29:27 +03:00
Damian Minkov c06c1caad8 Updates deb package scripts. 2014-08-26 16:44:04 +03:00
Damian Minkov d9497f28b5 Fixed wrong -out parameter for generating certificates, reported on the mailinglist. 2014-08-14 10:21:51 +03:00
Damian Minkov 42f383aa28 Fixes missing file in jitsi-meet-prosody package. 2014-08-12 15:06:37 +03:00
turint be83b0a05c Removes debian/files. 2014-08-10 22:35:46 +03:00
turint e200eacf09 Ads debian folder for packaging two debs, jitsi-meet and jitsi-meet-prosody. 2014-08-10 22:29:48 +03:00
turint c171078266 Removed debian packaging files. They are now in branch debian. 2014-08-01 16:13:26 +03:00
turint 71850ce7bc Removes ufw usage and firewall reconfiguration. 2014-08-01 15:59:10 +03:00
turint e62b2d129a Adds dependency on jitsi-meet-prosody. 2014-07-31 14:58:57 +03:00
turint 25031d5a91 config is already deleted and second try breaks package uninstall 2014-07-08 23:13:41 +03:00
turint e3d4e108ed jitsi-meet.example and README added 2014-07-08 16:45:56 +03:00
turint 3958d8b347 added rule for webroot populating through install & rules 2014-07-07 15:30:52 +03:00
turint 36743da290 fix for architecture independent builds (arch "all") 2014-07-07 12:50:29 +03:00
turint b24898c79d removed an unneeded and breaking the build debconf reference 2014-07-04 21:27:43 +03:00
turint 90afe1b4dc added uploaders and fixed homepage address 2014-07-01 16:43:16 +03:00
turint ddaf6caa51 /srv/web/ references changed to /usr/share/ ones 2014-07-01 16:25:30 +03:00
turint 450e2a05ff removed apt sources files 2014-07-01 16:22:52 +03:00
turint 186c1ff484 removed apt sources files, they will be in separate package 2014-07-01 16:21:07 +03:00
turint 8aa807b77d debian folder initial version 2014-07-01 16:18:30 +03:00