2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-10 17:24:41 +00:00
Commit Graph

786 Commits

Author SHA1 Message Date
Valmik
888b72ca91 DNS Multitenancy by default (#324)
* dns multitenant by default

* [fix] silly typo
2016-10-06 14:50:46 +05:30
Rushabh Mehta
9fd73a738e [command] bench restart --web 2016-09-30 16:40:34 +05:30
Shreyas Patil
164bc13c95 Fix nodejs (#310)
* [Fix] Do not validate certificates while downloading node bash script

* [Fix] New nodejs installation procedure

* [Fix] Updated message for node update to use official node package manager scripts

* [Fix] Add travis build status to repo page
2016-09-12 11:19:34 +05:30
Rushabh Mehta
b07de2683a [minor] update get languages 2016-08-30 10:16:01 +05:30
Omar Altayyan
317cc26c2c fixed a bug in default port for a site (#300)
* fixed a bug in nginx config

i found a bug when the user of the bench is currently using a dns-multitenant setup and he has multiple sites, and then he decides to switch to multiport setup, then all the sites present on the server get assigned the same port "80" and you can't change the port of any site due to the exception "Port 80 is being used by..." 

so i fixed the bug by assigning a new port number that is not in use to every unassigned site, so afterwards the user can set his own custom port for each site without having to face this exception and failing at this task

* fixed a compile error

that's what knowing too much c-based languages doesn to you

* changed increment method

* added a better description for port conflic 

if you are using port-based multi-tenant setup, i have found that if your ports are set in the site_config.py of your sites, or you set the port manually by using set-nginx-port command, and you have a port conflict between sites, the exception message raised is not be very helpful especially if you have many sites in your setup, so i added a list of ports that are conflicted and at what sites

and the behavior of default port assignment is changed as follows:

at first, the first site created gets port number 80, and every other site will get a new sequential port number, then, if a port is set manually that was assigned automatically, the manually set port number is applied and the old site moves to a new port

but the conflict message only displays if two ports where manually (or in the site_config) assigned to a site, and the message will display the site names

* added a message displaying the current port to site setup

added a new message that displays the mappings between sites and ports if port multi-tenant setup is used

* fixed security error in browsers

some browsers prevent low numbered ports from being used, so instead of continuously assigning ports from 80 onward, we start at 80 and then jump to 8000, and then continue from there

* fixed a problem with start port

apparently setting a site at port 8000 breaks nginx, so i changed it to 8001

* changed naming scheme to snake case
2016-08-29 12:24:05 +05:30
Viet Pham
a6d9d158b4 Add git utility commands 2016-08-28 19:50:48 +07:00
mbauskar
4e75e24c85 [minor] minor fix in switch-to-v5 help message 2016-08-26 15:12:12 +05:30
Valmik Jangla
9ee235e509 [fix] install apps using apps.txt ordering 2016-08-23 13:40:34 +05:30
shreyas
92c097951f [Fix] Error 2016-08-10 15:15:27 +05:30
shreyas
90ea181c78 [Minor] Added command to restart on web workers for supervisor bench restart --web-workers 2016-08-10 15:06:13 +05:30
Rushabh Mehta
b34b1e1d27 Merge pull request #294 from frappe/develop
[feature] clone bench from existing bench by copying the git repo
2016-08-08 15:41:12 +05:30
Rushabh Mehta
35cc6f608e [feature] clone bench from existing bench by copying the git repo 2016-08-08 14:59:58 +05:30
Neil Trini Lasrado
7c13d16a62 Fixed patch 2016-08-08 13:48:27 +05:30
Rushabh Mehta
73f74bd9bd Merge pull request #287 from shreyasp/bench/rate_limit_conn
[Fix] Add 'allow_rate_limiting' as common_site_config to generate nginx config as per requirement
2016-08-04 11:06:46 +05:30
Rushabh Mehta
26cac7173b Merge pull request #279 from vjFaLk/debian-installer
Debian installer support
2016-08-03 15:35:38 +05:30
shreyas
4e45c7b34b [Fix] Add 'allow_rate_limiting' as common_site_config to generate nginx config as per requirement 2016-08-03 14:54:45 +05:30
Valmik Jangla
d23d7489d7 Added macos support for version check 2016-08-03 01:29:34 -07:00
Rushabh Mehta
6bbf7c9ed1 [minor] set version 2016-08-03 12:56:35 +05:30
Valmik Jangla
13f6a57ce9 Update bench requirements when updating as well 2016-08-02 15:21:51 +05:30
Rushabh Mehta
1c4385bf9b Merge pull request #278 from shreyasp/bench/rate_limit_conn
[Minor] Nginx rate limiting and Improvements to Bench Installer
2016-08-01 16:55:44 +05:30
Valmik Jangla
03f6f3ff03 [fix] crontab entry for lets-encrypt 2016-07-30 14:30:22 -07:00
shreyas
0c95b6a564 [Fix] Travis CI failure fixes 2016-07-29 11:54:46 +05:30
shreyas
f9067f3d7a [Minor] Add rate limiting for bench 2016-07-28 17:55:08 +05:30
shreyas
20c24a3923 [Minor] Add limit_conn_zone to bench nginx config 2016-07-28 14:59:53 +05:30
Rushabh Mehta
44013a435f Merge pull request #276 from vjFaLk/test-fix
[travis] fix for setup_production_v6
2016-07-26 21:21:03 +05:30
shreyas
87414d218b [Fix] Add curl and wget to bench installer. Node v5 installer fixes 2016-07-26 13:37:06 +05:30
Rushabh Mehta
73a6593fb9 Merge branch 'develop' 2016-07-26 09:22:09 +05:30
Rushabh Mehta
40e2df9f2a [fix] typo #271 2016-07-26 08:53:21 +05:30
Rushabh Mehta
2e2ff56d0a Merge pull request #271 from shreyasp/bench/update-node-install
[Fix] Updated the patch to find node executable and installation instructions
2016-07-26 07:54:42 +05:30
shreyas
abc224f3e1 [Fix] Updated the patch to find node executable as well as provide installation instructions 2016-07-25 20:39:18 +05:30
Valmik Jangla
91d239bcd4 [travis] fix for setup_production_v6 2016-07-25 18:36:08 +05:30
Rushabh Mehta
8dd4672e3c Merge pull request #270 from shreyasp/bench/update-node-install
[Fix] Updated ansible to install node 5 using install script
2016-07-25 18:21:32 +05:30
shreyas
be1f23a602 [Fix] Updated ansible to install node 5 using install script 2016-07-25 16:26:30 +05:30
Anand Doshi
fb5bf3edb4 [fix] ssl on 2016-07-25 15:40:07 +05:30
Rushabh Mehta
daabbd8c1e [minor] save github username, pass 2016-07-25 15:04:55 +05:30
Anand Doshi
0f0a01efc4 [fix] removed ssl on from nginx.conf
based on: http://stackoverflow.com/questions/8768946/dealing-with-nginx-400-the-plain-http-request-was-sent-to-https-port-error
2016-07-24 22:14:21 +05:30
Anand Doshi
0c255b2f96 [fix] set all patches as executed on bench init 2016-07-24 14:52:21 +05:30
Anand Doshi
e27c2059ea [fix] setup fonts - exit if backup already exists 2016-07-23 17:30:53 +05:30
Valmik Jangla
ec8f5cf05e [fix] fixed import for lets-encrypt 2016-07-22 22:47:31 -07:00
Anand Doshi
81dbf0b9eb Merge remote-tracking branch 'origin/master' into develop 2016-07-22 15:37:54 +05:30
Anand Doshi
4b50848687 Bumped version to v3.1 2016-07-22 15:21:54 +05:30
Valmik Jangla
fa338fb5e1 [fix] test case for remove-app 2016-07-21 12:07:16 +05:30
Valmik Jangla
43e170e02d Added tests for remove-app 2016-07-18 00:06:38 -07:00
Valmik Jangla
c3efdb01ab Added command to remove app 2016-07-17 23:26:12 -07:00
Anand Doshi
47a65b9411 [fix] [test] supervisor restart 2016-07-14 17:10:37 +05:30
Anand Doshi
97a4a30432 [fix] [test] disable production after test, reread and update supervisor 2016-07-14 15:46:14 +05:30
Shreyas Patil
3b1e23b1b2 [fix] Added 502 Page to bench nginx config 2016-07-14 15:44:13 +05:30
Anand Doshi
cd5206a11a [fix] reload supervisor instead of reread/update 2016-07-07 21:05:01 +05:30
Anand Doshi
c9cdb2c2ee [fix] nginx -t check 2016-07-07 20:24:37 +05:30
Anand Doshi
91de45adf4 [fix] bench setup reload-nginx 2016-07-07 20:15:26 +05:30
Anand Doshi
961606fe4b [fix] bench setup add-domain/remove-domain/sync-domains + [cleanup] moved functions to site_config.py 2016-07-07 20:09:13 +05:30
Valmik Jangla
ac60badb26 Added command to add custom domain 2016-07-07 14:46:55 +05:30
Anand Doshi
012be92f09 [command] bench config set-common-config / remove-common-config
bench config set-common-config --config KEY1 VAL1 --config KEY2 VAL2 ...
bench config remove-common-config KEY1 KEY2 ...
2016-07-05 19:11:01 +05:30
shreyas
22de7e33db [Minor] Added '--version' option to bench command 2016-07-05 17:14:06 +05:30
Anand Doshi
d09d448360 [command] bench src 2016-07-04 15:18:52 +05:30
Valmik Jangla
3038093071 Added setup fonts 2016-07-01 15:00:27 +05:30
shreyas
85f8d1be30 [Fix] Command needs superuser previlege to run 2016-06-30 14:41:48 +05:30
shreyas
41f3f7e639 [Fix] Fixed disable_production command 2016-06-29 16:55:15 +05:30
shreyas
fd739aa199 [Minor] Added test case in bench test suite 2016-06-29 16:43:07 +05:30
shreyas
02922107f4 [Minor] Added disable-production command to the bench 2016-06-29 16:10:23 +05:30
Anand Doshi
15492630af [fix] installer - ask password 2016-06-28 15:06:12 +05:30
Anand Doshi
003f3cda20 [refactor] nginx config now supports wildcard ssl and custom domains 2016-06-26 22:40:32 +05:30
Valmik Jangla
e9b449dfb7 DNS Multitenancy by default 2016-06-20 11:57:11 +05:30
Anand Doshi
0c0144021b [fix] [cleanup] bench-path 2016-06-16 12:13:05 +05:30
Anand Doshi
8ff5519959 [cleanup] bench path 2016-06-16 11:48:06 +05:30
Anand Doshi
e8c3fa5167 [cleanup] bench path 2016-06-16 11:18:51 +05:30
Anand Doshi
d9a3860699 [fix] bench command path in supervisor 2016-06-16 10:21:32 +05:30
Anand Doshi
47662c4d90 [fix] bench command path in supervisor 2016-06-16 10:21:03 +05:30
Anand Doshi
47b65ec28f [fix] pull 'upstream' 2016-06-14 18:20:19 +05:30
Rushabh Mehta
2d716f261d [temp] moved migrate_to_v5 2016-06-14 16:03:42 +05:30
Rushabh Mehta
253f72fba3 [minor] get-app to check origin and upstream 2016-06-13 18:04:54 +05:30
Anand Doshi
4a9933f8ae Merge branch 'master' into develop 2016-06-10 10:46:03 +05:30
Anand Doshi
e8f4e01516 [fix] reload bench utils and bench app 2016-06-09 19:28:47 +05:30
Anand Doshi
494177d402 [fix] reload bench utils and bench app 2016-06-09 19:28:25 +05:30
Anand Doshi
2e02ec78a2 [fix] version backward compatibility fix 2016-06-09 18:54:41 +05:30
Anand Doshi
d99b65782d [fix] update bench before upgrade check 2016-06-09 18:51:17 +05:30
Anand Doshi
f08d7e2605 [fix] update bench before upgrade check 2016-06-09 18:50:13 +05:30
Anand Doshi
2180069a30 [fix] get_current_version backward compatibility 2016-06-09 18:31:25 +05:30
Anand Doshi
24e37e4991 [fix] get_current_version backward compatibility 2016-06-09 18:26:46 +05:30
Anand Doshi
cb6e33cb0d [fix] git show - app 2016-06-09 18:17:35 +05:30
Anand Doshi
070f80ece6 [fix] git show - app 2016-06-09 18:16:15 +05:30
Anand Doshi
b278e70f2e [version] changed to v4.0.0-beta 2016-06-09 16:39:48 +05:30
Anand Doshi
25195d5217 [fix] get version 2016-06-09 16:39:06 +05:30
Anand Doshi
9232d25375 [fix] get version 2016-06-09 16:33:46 +05:30
Anand Doshi
7c86581897 [fix] release script 2016-06-09 15:39:54 +05:30
Revant Nandgaonkar
6a0a7223d2 compare app and repo to set repo 2016-06-09 12:46:52 +05:30
Revant Nandgaonkar
40247bae0f added app argument to compare repo and app 2016-06-09 12:46:52 +05:30
Revant Nandgaonkar
08e65f7881 added repo-name option to release command 2016-06-09 12:46:52 +05:30
Revant Nandgaonkar
4a60de9268 removed repo_map and changed owner to option from argument 2016-06-09 12:46:52 +05:30
Revant Nandgaonkar
95eae6d3b4 make bench release available for app developers 2016-06-09 12:46:52 +05:30
Anand Doshi
312e59f44b Merge pull request #225 from vjFaLk/lets-encrypt
Added command to setup Let's Encrypt for site
2016-06-08 12:16:59 +05:30
Anand Doshi
5a22215d62 [fix] test_switch_to_branch - bring frappe back to develop 2016-06-08 12:11:47 +05:30
Valmik Jangla
b0f571108d Added switch-to-branch command 2016-06-08 12:05:45 +05:30
Valmik Jangla
ea07745bbb Added command for adding Let's Encrypt SSL to site 2016-06-03 16:03:46 +05:30
Anand Doshi
e857c6d9cf [fix] change supervisor restart sequence to workers then web 2016-05-26 16:25:56 +05:30
Anand Doshi
5a8ee1513c Merge pull request #229 from shreyasp/add-force-options
[Fix] Added force option to supervisor config setup
2016-05-26 12:00:35 +05:30
shreyas
234781c01e [Fix] Added force option to supervisor config setup 2016-05-24 18:45:43 +05:30
Anand Doshi
a6ca0dbadf Merge pull request #227 from shreyasp/force-nginx-config
[Fix] Added option to force upgrade nginx config file
2016-05-24 12:47:11 +05:30
shreyas
c50d788eea [Fix] Added option to force upgrade nginx config file 2016-05-24 11:03:32 +05:30
Anand Doshi
608aad0d25 [fix] certbot-auto and bench in frappe sudoers 2016-05-23 15:26:47 +05:30
Anand Doshi
a09cc4424a Merge pull request #215 from vjFaLk/get-app
Removed get-app app-name argument
2016-05-18 18:11:15 +05:30
Anand Doshi
9bdb3fc530 [fix] remove pyc files on git pull 2016-05-18 17:20:47 +05:30
Valmik Jangla
cd4c8d6323 Removed get-app arg 2016-05-16 02:33:08 -07:00
Anand Doshi
d94c7a3c9e [fix] setup sudoers to include nginx command 2016-05-12 20:34:42 +05:30
Anand Doshi
dc49355ecd [patch] [security] patch to fix redis bind ip 2016-05-10 13:50:20 +05:30
Anand Doshi
0e81e99901 [fix] [security] redis bind localhost 2016-05-10 13:40:52 +05:30
Anand Doshi
112ea2e1f8 Merge pull request #210 from vjFaLk/new-app-fix
Added validation for App Name
2016-05-09 15:43:46 +05:30
Valmik Jangla
685536fb96 Added validation for App Name 2016-05-09 11:48:11 +05:30
Anand Doshi
6612c6d6ca [fix] use_rq 2016-05-05 16:23:00 +05:30
Anand Doshi
df74bb130b [fix] nginx config removed large_client_header_buffers 2016-05-04 21:43:25 +05:30
Anand Doshi
e591574be0 [nginx] added gzip compression 2016-04-28 15:38:43 +05:30
Anand Doshi
149dbae7a3 [test] test_setup_production_v6 2016-04-27 22:22:46 +05:30
Anand Doshi
6155e6aaa0 [fix] 6–7 compatibility 2016-04-27 18:47:45 +05:30
Anand Doshi
618ae53c91 Merge branch 'master' into develop 2016-04-27 17:37:46 +05:30
Anand Doshi
ca97764209 Merge pull request #205 from shreyasp/fix-test-case
[Fix] Fixed drop site test case
2016-04-22 14:19:45 +05:30
Anand Doshi
6060915ca6 Merge pull request #199 from shreyasp/eval-conf-symlink
[Fix] Create symlinks for supervisor and nginx only if they do not exist
2016-04-21 18:48:18 +05:30
shreyas
08fbc201c6 [Minor] Fix test case for drop-site command 2016-04-21 16:37:05 +05:30
shreyas
2c8bed26dd [Fix] Fixed drop site test case 2016-04-21 14:31:50 +05:30
Anand Doshi
dbac79bd3b Merge pull request #204 from shreyasp/test-drop-site
Test drop site
2016-04-21 12:13:59 +05:30
shreyas
2eea8b31e9 [Fix] Updated test case for the refactored logic 2016-04-21 12:00:12 +05:30
Anand Doshi
ccea825d4c [fix] supervisor restart 2016-04-20 17:13:40 +05:30
shreyas
4caed10681 [Test] Added test case bench drop-site command. 2016-04-20 16:03:47 +05:30
Nabin Hait
4d9000167c [fix] Push develop branch if released from another branch 2016-04-15 11:21:26 +05:30
Anand Doshi
5d9c29a3a0 [test] 2016-04-13 20:15:31 +05:30
Anand Doshi
75699817dc [test] 2016-04-13 19:55:03 +05:30
Anand Doshi
ef4ec51d48 [fix] celery to rq 2016-04-13 19:27:24 +05:30
Anand Doshi
4f93b1b80c bumped version to v2.1 2016-04-13 18:31:33 +05:30
Anand Doshi
4223b37483 [cleanup] release script - ask for confirmation 2016-04-08 14:55:49 +05:30
Anand Doshi
f4593ecc60 [release] added schools to release 2016-04-08 11:48:39 +05:30
Anand Doshi
b3071162c8 [fix] release + mariadb restart for mac 2016-04-06 15:59:52 +05:30
shreyas
a890be44b8 [Fix] Create symlinks for supervisor and nginx only if they do not exist 2016-04-04 13:01:58 +05:30
Anand Doshi
8b76f2808b [fix] setup sudoers 2016-03-23 23:47:34 +05:30
Anand Doshi
8b5a1b7028 [fix] supervisor restart backward compatibility 2016-03-23 23:37:56 +05:30
Anand Doshi
5e8229c2ba [fix] config generation and deprecate bench/config.json 2016-03-22 23:44:27 +05:30
Anand Doshi
bba5b46112 Set version as 2.0.0 and split cli.py into multiple files 2016-03-22 13:14:31 +05:30
Anand Doshi
6b6de9d2d0 [fix] [playbook] ubuntu dev setup ready 2016-03-17 15:20:21 +05:30
Rushabh Mehta
13b4825fb6 [fix] shallow clone 2016-03-16 13:03:09 +05:30
Rushabh Mehta
6b5e5d2d4d [minor] use os.makedirs in bench.init 2016-03-15 18:26:09 +05:30
Rushabh Mehta
e426c00e3a cleanup 2016-03-15 18:11:08 +05:30
Rushabh Mehta
d82a67be9e [cleanup] redis, supervisor, config 2016-03-15 16:57:48 +05:30
Rushabh Mehta
16a8012c2b [merge] 2016-03-15 12:35:47 +05:30
Anand Doshi
4286c99a0f [cleanup] nginx config for multi-bench 2016-03-15 11:20:01 +05:30
shreyas
2e9c285a2c [Enhancements]Installing pip and bench 2016-03-02 16:53:51 +05:30
Anand Doshi
26356f2b3e [test] python site-packages 2016-02-29 20:07:23 +05:30
shreyas
073bc1c0bd [Minor] Renamed variable 2016-02-26 11:57:21 +05:30
Anand Doshi
6797768572 [enhancement] multi-bench setup and test cases for bench with [travis] 2016-02-25 20:01:23 +05:30
shreyas
2a4665ca37 [Fix]
* Generate common_site_config.json while initializing a new bench
* Clean-up some code
2016-02-25 15:47:39 +05:30
shreyas
a12cffacca [Minor] Add extra test case for checking ports
* Added routine to find the max_cpus on the machine to start appropriate number of workers
* Modified supervisor.conf to get webserver_port for multi-bench setup
2016-02-25 15:47:39 +05:30
Anand Doshi
68dc8cbfd4 [tests] test_init - run using - python -m unittest bench.tests.test_init 2016-02-25 15:47:39 +05:30
shreyas
14f42180cb [Minor] Modified conf files to save pid and db to a path within bench 2016-02-25 15:47:39 +05:30
shreyas
e00ad34f9e [Modification] Added redis_celery_broker.conf and changes to redis_async_broker_conf to have bench_path as well 2016-02-25 15:47:39 +05:30
shreyas
363fd2d04c [Fix] Initial commit 2016-02-25 15:47:39 +05:30
Pratik Vyas
f66969ac26 [Fix] Simplify and fix prod config symlinking 2016-02-24 19:08:20 -08:00
Rushabh Mehta
5add77f969 Merge pull request #176 from revant/master
Enable auto update
2016-02-22 15:05:40 +05:30
shreyas
76efe0ce79 [Fix] Corrected the fix to disallow symlink creation for supervisor and nginx config files if they already exist 2016-02-22 14:49:43 +05:30
shreyas
d4b0e0f70d [Fix] Fixed symlink creation for supervisor.conf and nginx.conf for already existing conf files 2016-02-22 14:43:33 +05:30
Anand Doshi
d8a4c303eb [fix] procfile 2016-02-09 18:28:55 +05:30
Anand Doshi
099e60205c [fix] better priorities for supervisor 2016-02-09 13:42:07 +05:30
Anand Doshi
b2f48b8afc [fix] killasgroup=true for celery worker processes 2016-02-08 17:51:25 +05:30
Anand Doshi
7008273ecb [fix] added supervisor priority 2016-02-08 17:07:46 +05:30
Anand Doshi
c5e0789538 [fix] enable soft-time-limit for celery 2016-02-04 13:39:47 +05:30
Nabin Hait
5d33ec4230 Added erpnext_shopify and paypal_integration for release repo 2016-02-04 11:46:30 +05:30
Nabin Hait
078a21a019 Added erpnext_shopify and paypal_integration for release repo 2016-02-04 11:22:42 +05:30
Anand Doshi
1d15d534a1 [fix] added async and longjob worker 2016-02-03 13:00:31 +05:30
Anand Doshi
9e68decb75 [fix] longjobs@ naming 2016-02-01 14:49:31 +05:30
Anand Doshi
3604ccf125 [fix] added longjob worker in supervisor.conf 2016-02-01 14:41:41 +05:30
Rushabh Mehta
60998dc4b7 [minor] new-app must covert to lowercase 2016-01-28 12:26:31 +05:30
Revant Nandgaonkar
c5a84860cf Enable auto update 2016-01-22 20:22:10 +05:30
Anand Doshi
5a14a16c51 [minor] enabled loglevel DEBUG 2016-01-11 12:28:02 +05:30
Anand Doshi
9304506be5 [hotfix] remove yes w 2015-12-10 12:31:51 +05:30
Anand Doshi
d02347031d [fix] nginx config for private files 2015-12-10 12:30:01 +05:30
Anand Doshi
6b1615c8c7 [fix] nginx private files 2015-12-09 19:01:49 +05:30
Anand Doshi
96cf6b547c [fix] pdfkit install 2015-12-09 18:47:48 +05:30
Anand Doshi
245eecdeda [fix] remove wheels as latest pip uses wheels and cache automatically, install pdfkit from git 2015-12-09 18:41:34 +05:30
Anand Doshi
c45cb2b003 bench init --verbose 2015-12-09 00:22:16 +05:30
Anand Doshi
4ec9bed9bb [fix] upgrade pip during bench init 2015-12-08 23:51:16 +05:30
Anand Doshi
523e6b6837 [fix] upgrade pip before installing requirements during update 2015-12-08 18:51:02 +05:30
Rushabh Mehta
0c04c0d6c9 [minor] remove frappe.io/buy 2015-12-01 15:40:25 +05:30
Anand Doshi
798d485cc1 Merge pull request #98 from frappe/pdvyas-patch-1
Take care of shallow clones in migrate-to-v5
2015-11-18 11:53:40 +05:30
Pratik Vyas
a067a1845e bench admin changes 2015-11-02 11:48:39 -08:00
Pratik Vyas
ce6398e10f Fix origin header for socketio 2015-10-24 20:56:35 -07:00
Anand Doshi
cb5295b387 [fix] supervisor.conf should use the stop signal TERM instead of QUIT 2015-10-21 14:26:11 +05:30
Anand Doshi
77373d955b [fix] try installing pillow before update 2015-10-16 17:32:27 +05:30
Anand Doshi
d918173783 [fix] updated setup_frappe.sh for ubuntu precise 2015-10-15 16:56:33 +05:30
Anand Doshi
4ab8e2068e [hotfix] import error 2015-10-15 16:19:59 +05:30
Anand Doshi
b3c95685ec print pillow requirements and added them to setup_frappe.sh 2015-10-15 15:47:01 +05:30
Anand Doshi
b9385257cc Added libjpeg in install and validate_os_requirements 2015-10-15 15:17:15 +05:30
Anand Doshi
19e31b447c [fix] release due to boolean 2015-09-24 15:23:26 +05:30
Anand Doshi
a8cc56a144 [fix] Use streaming in download translations 2015-09-17 15:09:43 +05:30
saurabh
24012e3a4a [Fixes] indent issue 2015-09-03 12:09:16 +05:30
saurabh
00d607a2be [Fixes] app list fixes for version 5 switching 2015-09-03 11:28:34 +05:30
Pratik Vyas
fcf8cf34b8 Skip nginx restart on env var NO_SERVICE_RESTART 2015-09-01 15:43:34 -07:00
Pratik Vyas
b594c3334d Handle 404 in download-translations, fix #143 2015-08-25 12:47:38 -07:00
Anand Doshi
fcea709bbc [fix] use environment variable to use custom service manager 2015-08-25 15:24:23 +05:30
Anand Doshi
69ceb7e9b1 [enhancement] ability to call a different service manager to restart nginx using 'service_manager' and 'service_manager_command' config options in config.json 2015-08-25 15:12:25 +05:30
Pratik Vyas
5478bb6f26 Merge pull request #140 from jevonearth/typo-swtich-switch
Fix minor typo swtich-to -> switch-to & remove commented line.
2015-08-22 16:58:45 -07:00
Pratik Vyas
783a6e7d02 Add switch-to-v5 #142 2015-08-22 16:56:29 -07:00
jevonearth
5820666035 Fix minor typo swtich-to -> switch-to & remove commented line. 2015-08-21 08:38:41 -07:00
Anand Doshi
27d64b6ea6 [fix] nginx.conf 2015-08-20 19:18:40 +05:30
Anand Doshi
7efc6793af [fix] use correct node executable 2015-08-18 11:35:27 +05:30
Pratik Vyas
dc903916a2 Remove nodemon 2015-08-17 12:07:28 -07:00
Anand Doshi
f4e868a114 [fix] supervisor config for socketio 2015-08-17 16:52:40 +05:30
Anand Doshi
cf9a4c0b44 [fix] nodejs detection 2015-08-17 16:35:28 +05:30
Anand Doshi
6e26f74250 [fix] bench update --upgrade --force option to force running of pre and post upgrade operations 2015-08-17 15:58:01 +05:30
Anand Doshi
35e58a7c2e [fix] post-upgrade 2015-08-17 13:21:16 +05:30
Anand Doshi
0e0ac03f8c [fix] validate upgrade 2015-08-17 12:53:26 +05:30
Anand Doshi
28af30ca3a [minor] changed validation message 2015-08-17 12:34:06 +05:30
Anand Doshi
c79f290a76 [minor] fix message and node requirement condition 2015-08-17 12:28:11 +05:30
Pratik Vyas
568350c02c add check for npm and node 2015-08-16 23:27:44 -07:00
Pratik Vyas
fe87c7e79f setup socketio if frappe > v5 2015-08-15 20:37:56 -07:00
Anand Doshi
05b8d22f44 [fix] don't use async if invoked from command line 2015-08-15 23:00:33 +05:30
Rushabh Mehta
9065066b8f [merge] v6 2015-08-14 15:41:53 +05:30
Pratik Vyas
cd6b4d10c9 Fix bench update fix # 126 2015-08-12 23:25:45 -07:00
Rushabh Mehta
a421da11c6 [minor] fix buy link 2015-08-06 18:24:44 +05:30
Anand Doshi
1c9a9825b1 [nginx] set X-Forwarded-Proto 2015-08-03 10:48:43 +05:30
loader
c0bcf968af FreeBSD crontab(1) needs a "-" to read from stdin 2015-07-31 08:32:21 +00:00
Rushabh Mehta
0ff2561881 async option in exec_cmd and cousin 2015-07-28 14:40:48 +05:30
Pratik Vyas
e15ea385d8 Fix redis config generation 2015-07-27 20:16:05 +05:30
Pratik Vyas
ce840a9b41 Fix changed function for generating cache config 2015-07-24 17:05:05 +05:30
Pratik Vyas
f9c9e878e0 Add Async broker template 2015-07-24 13:28:23 +05:30
Pratik Vyas
892aceae26 Setup socketio on init 2015-07-23 12:18:21 +05:30
Pratik Vyas
b4db16ee46 Add origin Header and site header to socket.io block 2015-07-22 10:56:32 +05:30
Pratik Vyas
7faad21fa4 Add socketio config 2015-07-19 09:43:35 +05:30
Pratik Vyas
bc7376b188 Async 2015-07-16 10:51:56 +05:30
Rushabh Mehta
b682eb0b71 [minor] let a readme.md file remain in current 2015-07-03 15:38:20 +05:30
Anand Doshi
9e7248d11b [minor] better exception msg - Current branch of 'frappe' not in upstream 2015-06-24 10:17:38 -04:00
Pratik Vyas
bbce981e96 [release] Check for changelog and commits as list in markdown 2015-06-08 14:47:25 +05:30
Pratik Vyas
c41e3137c5 Revert "Add reference feature"
This reverts commit 220405103c.
2015-06-08 08:49:07 +05:30
Pratik Vyas
220405103c Add reference feature 2015-06-07 17:02:30 +05:30
Pratik Vyas
39fbb25782 Add download translations command 2015-05-26 13:58:00 +05:30
Pratik Vyas
2e25af203a Add release message 2015-05-21 21:32:47 +05:30
Pratik Vyas
d79d1af2c5 One Trace 2015-05-11 20:51:17 +05:30
Pratik Vyas
1b52081da3 Better upgrade message on switch branch 2015-05-06 14:33:00 +05:30
Pratik Vyas
c2acc81cd4 Fix remote.upstream.fetch if --branch was used to get-app 2015-05-06 10:55:53 +05:30
Pratik Vyas
e5088d28b6 update requirements before pre upgrade 2015-05-06 10:44:51 +05:30
Pratik Vyas
de9427476d reset cronjobs on upgrade and merge on switching branches 2015-05-06 10:20:55 +05:30
Pratik Vyas
d8f0147ef1 Version upgrade on switching branches 2015-05-04 11:34:52 +05:30
Pratik Vyas
1e8fda23c2 Fix backup command 2015-04-17 09:06:21 +05:30
Pratik Vyas
a841322eac Fix release 2015-04-09 16:27:30 +05:30
Pratik Vyas
cd20389e15 Fix redis config 2015-04-07 16:49:48 +05:30
Pratik Vyas
bd1b772bbd Fix redis cache template 2015-04-03 17:01:12 +05:30
Pratik Vyas
8d4e4e6403 Fix redis cache template 2015-04-02 17:02:03 +05:30
Pratik Vyas
2d3ed01a2a fix backup in v4 to v5 upgrade 2015-04-02 16:14:53 +05:30
Pratik Vyas
ae6d4eee99 Fix backup for v5 2015-04-02 13:21:24 +05:30
Pratik Vyas
f301ba49d2 Fix v5 git clean in pre-upgrade 2015-04-02 12:59:55 +05:30
Pratik Vyas
f8f42da338 Pass PYTHONUNBUFFERED to bench start 2015-04-01 16:55:08 +05:30
Pratik Vyas
3131fb8103 Fix Procfile for version 5 2015-03-31 15:50:03 +05:30
Pratik Vyas
5080e06a4c Better upgrade message and retry-upgrade 2015-03-19 11:55:43 +05:30
Pratik Vyas
52bfaa0272 add switch to develop and remove migrate-to-v5 2015-03-17 16:50:43 +05:30
Pratik Vyas
b559572277 add branch switching commands and update release script 2015-03-17 09:00:33 +05:30
Pratik Vyas
3ae14b86e2 fix build_assets 2015-03-17 09:00:33 +05:30
Pratik Vyas
b13adc28f2 fix bench init with v4 2015-03-17 09:00:33 +05:30
Pratik Vyas
0f74b9b47e Fix new-app 2015-03-17 09:00:33 +05:30
Pratik Vyas
11715758f9 fix --upgrade logic 2015-03-17 09:00:33 +05:30
Pratik Vyas
2b5df6f516 v5 migration fixes 2015-03-17 09:00:33 +05:30
Pratik Vyas
17c91f851d remove shopping cart with new cli 2015-03-17 09:00:33 +05:30
Pratik Vyas
c24a904ad6 v5 upgrade 2015-03-17 09:00:33 +05:30
Pratik Vyas
5780ba6bd5 save old config on regeneration 2015-03-17 09:00:32 +05:30
Pratik Vyas
d11baf400c fix generate_redis_config 2015-03-17 08:59:39 +05:30
Pratik Vyas
8edfce4233 fix generate_redis_config 2015-03-17 08:59:39 +05:30
Pratik Vyas
76999e9ed8 fix get_frappe_commands 2015-03-17 08:59:39 +05:30
Pratik Vyas
b659e595a2 fix get current frappe version 2015-03-17 08:59:39 +05:30
Pratik Vyas
0ed4726452 fix run_frappe_cmd 2015-03-17 08:59:39 +05:30
Pratik Vyas
feceb591d4 fix get current frappe version 2015-03-17 08:59:38 +05:30
Pratik Vyas
84aeb0fceb fix run_frappe_cmd 2015-03-17 08:59:38 +05:30
Pratik Vyas
33a63f2343 migrate frappe calls to v5 2015-03-17 08:59:38 +05:30
Pratik Vyas
971c4305a5 integrate new frappe cli 2015-03-17 08:59:38 +05:30
Pratik Vyas
e1b69885af add support for app cmds
Conflicts:
	bench/cli.py
2015-03-17 08:59:38 +05:30
Pratik Vyas
cbc1962316 Add redis cache 2015-03-17 08:59:38 +05:30
Pratik Vyas
d3d873bff9 Warn if upgrading to next major version 2015-03-17 08:59:38 +05:30
Pratik Vyas
3cff486034 fix fix-file-perms 2015-02-11 12:30:59 +05:30
Rushabh Mehta
f09efcb0ae [minor] fixes for new-app and new-site 2015-02-10 12:39:04 +05:30
Pratik Vyas
36b6ffed9a fix setup production 2015-01-29 19:43:12 +05:30
Pratik Vyas
ac9b2bcf63 add fix-file-perms 2015-01-29 19:20:49 +05:30
Pratik Vyas
39a6a7dbb1 Take care of shallow clones in migrate-to-v5 2015-01-25 14:59:40 +05:30
Pratik Vyas
5fc81d0a3e Update utils.py 2015-01-23 11:34:37 +05:30
Pratik Vyas
b5d492f2e0 Update cli.py 2014-12-25 17:52:43 +05:30
Pratik Vyas
b551922341 skip shopping_cart removal if it doesnt exist 2014-12-18 12:32:26 +05:30
Pratik Vyas
c8cfe4300d fix install_apps_from_path 2014-12-03 11:05:12 +05:30
Pratik Vyas
91c2de9afb build assets only once if installing from a list from path 2014-12-03 10:54:40 +05:30
Pratik Vyas
09b0067992 chdir only if it exists 2014-12-03 10:54:40 +05:30
Pratik Vyas
a54bc1174b fix wrong hostname!, use X-Frappe-Site-Name to select site 2014-11-26 22:55:43 +05:30
Pratik Vyas
dd36e4f700 add cli for ssl 2014-11-26 11:38:04 +05:30
Pratik Vyas
235e8508fe remove SSLv3 #poodle 2014-11-26 00:18:15 +05:30
Pratik Vyas
198519ee27 add https to nginx config 2014-11-26 00:09:09 +05:30
Pratik Vyas
59eb9fd9b3 minor fix 2014-11-25 22:55:27 +05:30
Pratik Vyas
96cdd36e01 fix config file perm for setup production 2014-11-25 22:38:59 +05:30
Pratik Vyas
418a1b6b91 Merge pull request #82 from frappe/fix-utopic
Fix utopic
2014-11-24 18:37:42 +05:30
Pratik Vyas
707be68f5c fix restart service 2014-11-24 17:54:10 +05:30
Pratik Vyas
439413ffb1 fix easy install for utopic 2014-11-24 14:58:00 +05:30
Pratik Vyas
a898048ae5 add path checks for repo 2014-11-21 18:29:47 +05:30
Pratik Vyas
8823f3b157 add warning and fix bench update 2014-11-21 17:20:04 +05:30
Pratik Vyas
bbf38c7faf remove from appstxt 2014-11-21 17:19:56 +05:30
Pratik Vyas
ffeaa462d1 move shopping cart to archived_apps dir 2014-11-21 17:19:27 +05:30
Pratik Vyas
6fdd49b214 add script to migrate to version 5 2014-11-20 12:38:21 +05:30
Pratik Vyas
ce23b2319d fix set-url-root 2014-11-19 12:47:23 +05:30
Pratik Vyas
6bcfa5b313 add set-url-root command 2014-11-19 12:39:37 +05:30
Pratik Vyas
e657f78dfa remove mariadb-config patch 2014-11-18 22:24:47 +05:30
Pratik Vyas
0b16e745b6 install patched version of python-mysqldb in setup env 2014-11-18 22:11:38 +05:30
Pratik Vyas
aa92c32730 fix mariadb patch 2014-11-18 20:20:29 +05:30
Pratik Vyas
720c1bc0a1 fix fix permissions patch 2014-11-18 17:33:36 +05:30
Pratik Vyas
aff7d42717 add patch to fix perms 2014-11-18 17:26:37 +05:30
Pratik Vyas
213299e9f6 fix syntax error 2014-11-18 16:20:47 +05:30
Pratik Vyas
504a71fa68 fix #74 2014-11-18 16:08:17 +05:30
Pratik Vyas
5319ee50d2 missing function call 2014-11-11 10:09:34 +05:30
Pratik Vyas
07f770486c ad missing imports 2014-11-11 09:43:37 +05:30
Pratik Vyas
0608f04d7e replace default nginx config in case of centos7 2014-11-11 09:42:17 +05:30
Pratik Vyas
3cfdf6972c better drop_privileges 2014-11-10 21:21:45 +05:30
Pratik Vyas
af1da4acf2 fix cmd_requires_root logic 2014-11-10 20:51:19 +05:30
Pratik Vyas
2e38e0ee37 use seteuid instead of setuid 2014-11-10 20:51:19 +05:30
Pratik Vyas
6a100e22ba fix cmd_requires_root logic 2014-11-10 20:51:19 +05:30
Pratik Vyas
9cc3c4492b add set-mariadb-host 2014-11-10 20:51:19 +05:30
Pratik Vyas
585d041b19 check for roor, change dir and change user on init 2014-11-10 20:51:19 +05:30
Pratik Vyas
6476c7eb72 raise error if not root for setup production and sudoers command 2014-11-10 20:51:19 +05:30
Pratik Vyas
7363c9d2b9 fix nginx config list to remove 2014-11-10 20:51:18 +05:30
Pratik Vyas
80bf4feeed fix setup production 2014-11-10 20:51:18 +05:30
Pratik Vyas
bbcc8d1745 fix setup production 2014-11-10 20:51:18 +05:30
Pratik Vyas
3c8de42f51 fix setup production 2014-11-10 20:51:18 +05:30
Pratik Vyas
2509347b4d fix setup production 2014-11-10 20:51:18 +05:30
Pratik Vyas
c2d58a2789 fix setup production 2014-11-10 20:51:18 +05:30
Pratik Vyas
0206dfb7b5 add setup production 2014-11-10 20:51:18 +05:30
Pratik Vyas
736d14f988 pass admin-password and root password to new-site 2014-11-10 20:51:18 +05:30
Pratik Vyas
9e81bda10f fix #68 2014-10-31 15:57:31 +05:30
Pratik Vyas
bcd3a6de48 assume about HEAD no more 2014-10-30 12:38:50 +05:30
Pratik Vyas
3d9875bf31 fix last v3 patch 2014-10-16 12:43:48 +05:30
Pratik Vyas
635db8c9de hardcode server_names_hash_bucket_size to 64 in nginx config 2014-10-13 20:06:40 +05:30
Pratik Vyas
401a41331b fix mariadb patch 2014-10-13 11:45:34 +05:30
Pratik Vyas
ef6a59f5ad add patch for MariaDB 5.5.40 2014-10-13 10:25:25 +05:30
Pratik Vyas
3c30074078 be quiet, fix #55 2014-10-01 00:15:09 +05:30
Pratik Vyas
6ec6016d2c disable setting up of autoupdate 2014-09-17 12:03:17 +05:30
Pratik Vyas
0f6192152e disable auto update 2014-09-17 11:59:12 +05:30
Pratik Vyas
adb06aa920 restart update process if bench updated 2014-09-17 11:58:27 +05:30
Pratik Vyas
196278e7bf add support for app branches 2014-09-12 15:00:18 +05:30
Pratik Vyas
d46fa73824 better way to check git version 2014-09-12 00:24:39 +05:30
Pratik Vyas
e22ea566dd restart supervisor processes if configured after getting an app 2014-09-10 16:50:17 +05:30
Pratik Vyas
86672c927a pass Host head in case of dns_multitenant 2014-09-09 13:02:39 +05:30
Pratik Vyas
6e148971d2 fix blank port in dns_multitenant nginx conf 2014-09-09 11:29:31 +05:30
Pratik Vyas
98c1949120 require configuration for release 2014-09-05 14:53:21 +05:30
Pratik Vyas
c830eda3bf uncomment push release and create github release 2014-09-05 14:49:55 +05:30
Pratik Vyas
1ea7102ca6 fix cli import error (for older bench) 2014-09-05 09:30:54 +05:30
Pratik Vyas
d631cc4997 fix app.py 2014-09-05 09:28:55 +05:30
Pratik Vyas
725dced1c3 add config option for http timeout 2014-09-04 15:35:23 +05:30
Pratik Vyas
0e30ec02f0 use repo map 2014-09-04 15:24:41 +05:30
Pratik Vyas
456f79650a add release script 2014-09-04 15:15:53 +05:30
Pratik Vyas
fd2cc9872c add git cache, fix #43 2014-09-04 13:08:43 +05:30
Pratik Vyas
244dceaf3b backup before patching, fix #42 2014-09-03 12:49:30 +05:30
Pratik Vyas
68af6803b9 add backup 2014-09-03 12:27:04 +05:30
Pratik Vyas
645615950e make supervisor restart command configurable 2014-09-03 12:15:30 +05:30
Pratik Vyas
a509d339cf fix sudoers, add user argument 2014-09-03 12:05:23 +05:30
Pratik Vyas
c989a974b5 add bench shell fix #47 2014-08-27 17:23:20 +05:30
Pratik Vyas
f4dfeb0e51 fix migrate3to4 2014-08-25 15:24:05 +05:30
Pratik Vyas
23d6de2816 change gunicorn cwd to sites dir 2014-08-25 15:24:05 +05:30
Pratik Vyas
27fabddab0 change apps json schema to list 2014-08-01 16:41:05 +05:30
Pratik Vyas
314d243786 add more options to bench init 2014-08-01 16:39:53 +05:30
Pratik Vyas
067e19636a add build step to get-app 2014-07-26 23:57:57 +05:30
Pratik Vyas
2d2d98969c make rebase when pulling configurable, fix #39 2014-07-25 15:20:01 +05:30
Pratik Vyas
78ba5f2c4a Store log in a file for auto upgrade and backup, fix #35 2014-07-25 12:44:02 +05:30
Pratik Vyas
cd51df6a4c re generate config on set-nginx-port 2014-07-25 12:20:26 +05:30
Pratik Vyas
7f10e0c020 Add config option to switch off default site serving, fix #38 2014-07-25 12:15:16 +05:30
Pratik Vyas
fedf007a11 Fix migrate-3to4, fix #37 2014-07-25 12:09:02 +05:30
Pratik Vyas
2ce6eed2c4 update requirements on update, fix #34 2014-07-22 12:08:17 +05:30
Pratik Vyas
c2abf2b8b4 fix migrate3to4 2014-07-21 16:15:32 +05:30
Pratik Vyas
53d3026774 add bench setup config 2014-07-21 15:11:32 +05:30
Pratik Vyas
36e1ed3ed9 Add bench set-default-site command, fix #28 2014-07-21 11:48:07 +05:30
Pratik Vyas
1d60a52c01 pre install apps on init, fix #19 2014-07-21 11:40:03 +05:30
Pratik Vyas
e6a6973eff Add better nginx config generation, fix #20 2014-07-21 10:15:18 +05:30
Pratik Vyas
14a944467b enable supervisor restart on update after config generation 2014-07-17 15:46:17 +05:30
Pratik Vyas
620ee04ca8 build after init, fix #27 2014-07-17 15:45:30 +05:30
Pratik Vyas
07df02ce9a Add 3to4 migration, fix #23 2014-07-17 15:08:26 +05:30
Pratik Vyas
7ff05eb387 Add dontation pitch in bench update, fix #24 2014-07-17 12:14:08 +05:30
Pratik Vyas
c8c5bec828 fix bench init 2014-07-16 18:09:02 +05:30
Pratik Vyas
0cf0fefdac add to crontab using python, fix #14 2014-07-16 12:15:31 +05:30
Pratik Vyas
d4bef52e1f fix supervisor, fix #16 2014-07-16 11:54:02 +05:30
Pratik Vyas
efd1cc4105 add shallow cloning, fix #8 2014-07-16 10:44:20 +05:30
Pratik Vyas
99e0a41b88 fix setup sudoers 2014-07-16 10:22:49 +05:30
Pratik Vyas
65560034b7 Add bench start, fix #7 2014-07-15 14:48:50 +05:30
Pratik Vyas
0ad9189155 add bench docs 2014-07-15 12:24:44 +05:30
Pratik Vyas
49707d56b0 add more config options 2014-07-15 11:47:36 +05:30
Pratik Vyas
418452f775 Add readme, first cut 2014-07-15 11:10:15 +05:30
Pratik Vyas
7a5ace5dcb Add logging, #4 2014-07-11 15:03:07 +05:30
Pratik Vyas
a89963bc09 add bench frappe, fixes #5 2014-07-11 13:10:33 +05:30
Pratik Vyas
7c123bf033 fix auto update 2014-07-11 10:29:17 +05:30
Pratik Vyas
db4327568f fixes to bench init 2014-07-11 10:25:20 +05:30
Pratik Vyas
1a86f8e238 fix bench update 2014-07-11 10:02:54 +05:30
Pratik Vyas
e04f548389 auto update and sudoers 2014-07-11 09:59:57 +05:30
Pratik Vyas
a395b15537 first commit 2014-07-10 22:51:34 +05:30