Mayank Madan
264c2e9803
provision: Add provision support for Ubuntu 18.10.
...
Note that this is only support for Ubuntu 18.10 in the development
environment.
2019-03-09 16:01:46 -08:00
Tim Abbott
0ab8cd9ca3
provision: Refactor handling of dependencies for building pgroonga.
...
This lets us leave build-pgroonga platform-agnostic.
2019-03-08 15:12:56 -08:00
Tim Abbott
5c20ee998c
build-tsearch-extras: Add support for Debian/Ubuntu.
2019-03-08 15:12:56 -08:00
Tim Abbott
32d26c8aad
provision: Clean up building search extensions from source.
...
This generalizes the provision logic for deciding whether to build our
tsearch_extras and pgroonga search extensions from source to support
Ubuntu cosmic as well (and evenutally, other future platforms).
2019-03-08 15:12:56 -08:00
Rohitt Vashishtha
ac48925977
scripts: Use run_as_root instead of run([sudo, ...]).
2019-03-01 11:21:16 -08:00
Wyatt Hoodes
5231b27dea
popovers: Add a clear status option in user popover.
...
Accomplished by adding a function to clear the status message with
an empty string. The html is then updated to reflect changes without a
refresh.
Currently, it's a small hassle to clear a status message. This option
makes things a bit easier.
Fixes #11630 .
2019-02-26 14:40:17 -08:00
Anders Kaseorg
f1ec67c614
python: Mark intentionally unused imports with noop statements.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-02-22 16:54:47 -08:00
Tim Abbott
fe4a0d0fcd
capitalization: Fix night logo lint errors.
2019-02-18 15:53:55 -08:00
Anders Kaseorg
dec8c7dba4
provision: Run generate_secrets earlier.
...
Commit 7d12e2019d
(#10994 ) broke fresh
provisions by importing zproject.settings before we were done
modifying settings. Fix it by moving the generate_secrets invocation
to the earliest reasonable place.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-02-08 10:13:18 -08:00
Tim Abbott
a2373a63cd
capitalization: Add GCM to list of proper nouns.
...
This fixes failures in master from the recent GCM merge.
2019-02-08 10:11:55 -08:00
Vishnu Ks
b62bd83083
invites: Add generate multiuse invite button.
2019-02-07 15:41:00 -08:00
Rishi Gupta
36472413e4
hotspots: Add hotspot for gear menu.
2019-02-05 12:19:21 -08:00
Anders Kaseorg
ee8ff4df66
tools: Remove unused imports.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-02-02 17:10:31 -08:00
Anders Kaseorg
893e1475bb
setup_virtualenv: Do not activate the virtualenv on creation.
...
Instead, manually activate it in the one place where this
functionality was used (tools/lib/provision.py). This way we avoid
trying to activate the Python 2 thumbor virtualenv from Python 3.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-01-31 17:55:04 -08:00
Anders Kaseorg
df7b63cd5e
tools: Remove check-css.
...
As of commit 0042694e24
(#10017 ), this
is unused.
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-01-15 16:05:50 -08:00
Anders Kaseorg
f099fd9e28
pretty_print: Replace hardcoded path in /var/tmp with a pipe.
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-01-15 16:00:48 -08:00
rht
15763f8545
provision: Include DISTRIB_FAMILY in parse_lsb_release output.
2019-01-07 18:52:09 -08:00
Marco Burstein
9ddadd39f4
compose: Add support for using Zoom as the video chat provider.
...
This adds Zoom call properties to the `Realm` model, creates endpoints
for creating calls, adds a frontend and tests.
Fixes #10979 .
2019-01-07 10:00:02 -08:00
Tim Abbott
453b65bde3
provision: Clean up comments and unused variables.
...
This has some changes inspired by #8514 .
2019-01-04 15:16:19 -08:00
rht
7e1520b01f
provision: Ensure `python3` exists in PATH for CentOS.
2019-01-04 14:11:03 -08:00
rht
d3139266c8
setup_venv: Uninstall typing on Python >3.4.
...
Otherwise this causes an error
```
AttributeError: type object 'Callable' has no attribute '_abc_registry'
```
on 3.7. While the error is specific to 3.7, it is safer to uninstall
typing for all the versions that don't require a pip-provided typing
library.
2019-01-01 19:34:48 -08:00
rht
c190959b58
provision: Move CentOS & Fedora venv deps construction to setup_venv.py.
...
They will be reused in production setup.
2019-01-01 19:34:46 -08:00
rht
17ffbdabe2
provision: Use virtualenv instead of python-virtualenv on Fedora.
...
The package name changed at some point.
2019-01-01 19:34:24 -08:00
rht
75134ef614
provision: Use generic python3 on Fedora dependencies.
...
It might be cleaner to add new variables in setup_venv.py, but we can
do that later.
2019-01-01 19:34:11 -08:00
Rishi Gupta
f8720fddd6
emails: Update text of notify_new_login.
2018-12-20 16:26:19 -08:00
Vishnu Ks
f9e4d5d28e
emails: Tag password_reset for translation.
2018-12-19 09:21:09 -08:00
Vishnu Ks
0960e654ab
emails: Tag notify_new_login email for translation.
2018-12-19 09:21:09 -08:00
rht
acbb174100
provision: Add RHEL 7 support.
2018-12-18 17:13:56 -08:00
rht
84c968ab36
provision: Include scripts/lib/setup-* and scripts/lib/build-* for sha1 sum check.
2018-12-18 16:56:27 -08:00
rht
a093d45064
provision: Check for pg_hba.conf existence for doing postgres initdb.
...
Apparently, an empty pg_datadir is initialized after postgresql-10 is
installed.
2018-12-18 12:07:45 -08:00
rht
3060ee9397
provision: Fix typo when checking that vendor is Fedora.
2018-12-18 12:07:03 -08:00
rht
5e12eb8d34
provision: Fix typo in list of services on RedHat.
2018-12-17 16:30:48 -08:00
rht
42cbf2071b
provision: Skip RedHat postgresql initdb if already initialized.
...
We only need to initialize a postgres database once in the lifetime of
a system.
2018-12-17 16:29:50 -08:00
rht
295cbe7b9c
provision: Add build-pgroonga and use it for Fedora.
2018-12-17 16:23:57 -08:00
rht
80ba105be5
provision: Abstract out SYSTEM_DEPENDENCIES.
2018-12-17 16:23:46 -08:00
rht
b732fe819e
provision: Add Fedora support.
2018-12-17 16:23:44 -08:00
Tim Abbott
d469c14d11
docs: Advertise arbitrary org GitHub patterns for linkifiers.
...
Now that we support this, we should make it really obvious that we do.
Also, link to the Help Center article.
2018-12-17 12:58:52 -08:00
rht
2dc1dc8ec2
provision: Replace overwrite_symlink with `sudo ln -sf`.
...
overwrite_symlink doesn't work for a non-root user when accessing root
content.
2018-12-17 11:50:15 -08:00
Tim Abbott
2558f101af
docs: Add documentation for `if False` mypy pattern in scripts.
...
This should help make it clear what's going on with these scripts.
2018-12-17 11:12:53 -08:00
Tim Abbott
9059c4d223
provision: Make apt/yum retry logic more coherent.
...
This changes a few things:
* Deplicates deps_to_install logic.
* Has a retry flag, under which we can guard the apt retry print statements.
* Makes the install_system_deps flow more parallel.
2018-12-16 13:41:12 -08:00
rht
c6cde1cf5c
provision: Rename install_apt_deps to a more generic install_system_deps.
2018-12-16 13:39:00 -08:00
rht
389c46b4e5
provision: Extract yum-specific part of install_apt_deps.
2018-12-16 13:39:00 -08:00
rht
2be3065249
provision.py: Abstract out postgres version for CentOS.
2018-12-16 13:26:28 -08:00
rht
43bedc0909
provision: Use vendored pg_hba.conf on CentOS.
2018-12-16 13:21:54 -08:00
Tim Abbott
f2173bc2a7
check-capitalization: Add a few exclude rules for new strings.
2018-12-16 11:34:31 -08:00
rht
022e926d64
provision: Setup services for CentOS.
2018-12-16 10:14:51 -08:00
rht
9c776f4fcf
provision: Provide tsearch stopwords path for CentOS.
2018-12-16 10:14:08 -08:00
rht
8b5a86b992
provision: Initialize Postgres db on CentOS.
2018-12-16 10:11:55 -08:00
rht
41a5f6a49d
provision: Create symlink for pg_* on CentOS.
2018-12-16 10:11:54 -08:00
rht
10786375db
provision: Do not use apt-specific retry when a failure happens.
2018-12-16 10:04:27 -08:00