2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00
Commit Graph

728 Commits

Author SHA1 Message Date
gmplab
a39fb1eb8d Don't need $query_string (#390) 2017-05-16 11:39:22 +05:30
Mạnh Tài
02e0743532 Fix bug global hashlib is not defined (#399) 2017-05-16 11:38:31 +05:30
Rushabh Mehta
2f03e9f838 [fix] path 2017-05-10 14:30:54 +05:30
Nabin Hait
eeab0e8d25 Merge pull request #391 from rmehta/socket-2
[update] socketio
2017-05-10 14:00:47 +05:30
Rushabh Mehta
109a647633 [update] socketio 2017-05-10 13:44:36 +05:30
Nabin Hait
e3fa8c4423 Merge pull request #388 from saurabh6790/unicode_fix_for_domain_sync
[fix] check for unicode type while creating nginx conf
2017-04-26 11:28:09 +05:30
Saurabh
44a566b9ec [fix] check for unicode type while creating nginx conf 2017-04-25 12:29:41 +05:30
Revant Nandgaonkar
080ca173a6 ran 2to3 script (#381)
* ran 2to3 script

* Correct urllib.parse import

* Backward compatible urllib import

* removed test_setup_production_v6
2017-04-17 17:28:18 +05:30
Makarand Bauskar
a1587b783f [fixes] fixes in pull_all_apps so, bench update can backup and sync sites (#376) 2017-04-07 17:18:21 +05:30
robert schouten
c6e7477abf [hotfix] fix update reset (#374)
@rmehta
2017-04-07 13:33:25 +05:30
allan2
2a5289fce8 Update README.md (#352)
crontab was required for `bench init frappe-bench` to succeed.
`bench use site1.local` was also required for bench to start.
2017-04-05 12:21:50 +05:30
Yashodhan
27f50277c1 Corrected Guides URLs (#359)
- For issue #333 - [Change Hostname]
- [Stopping Production] - temporarily pointed to github wiki article
2017-04-05 12:20:01 +05:30
Elliot Schep
1a230cceb1 Proposed a number in README.md (#371)
Please preview the changes to see a full list.
2017-04-05 12:17:56 +05:30
Faris Ansari
7946d17cc1 less verbose app install (#369) 2017-04-05 12:17:22 +05:30
ckosiegbu
4eef5d1b1a Update pull_all_apps to use regex for check (#373)
pull_all_apps calls a "git status" and checks if the response contains "nothing to commit, working directory clean". However, it seems that at least some versions of git output the message "nothing to commit, working directory clean". This causes bench update to not work in systems where the output message uses "tree" instead of "directory". This update is to allow both strings to be used.
2017-04-05 12:16:58 +05:30
Rushabh Mehta
893b55991b fix message 2017-04-03 13:11:51 +05:30
Rushabh Mehta
4f37c6cf03 [enhance] check for uncommitted code before pulling 2017-04-03 12:56:53 +05:30
Nabin Hait
ae17b6b18d Merge pull request #357 from saurabh6790/shallow_clone
[fix] check shallow clone param in common site config too
2017-02-10 13:21:07 +05:30
Saurabh
44d6e783e6 [fix] check shallow clone param in common site config too 2017-02-02 11:42:39 +05:30
Nabin Hait
2b6715594e Merge pull request #345 from shreyasp/max-redis-mem
[Fix] Max memory given to redis cache should be dependent on virtual of the machine
2016-11-14 17:36:41 +05:30
shreyas
1c5daf646a [Fix] Max memory given to redis cache should be dependent on virtual of the machine 2016-11-14 17:29:42 +05:30
robert schouten
cd877e19cc [feature] add reset option to update (#343)
* [feature] add reset option to update

* fix for restarting update
2016-11-07 17:23:25 +05:30
Valmik
6ad8d9b3f8 Set innodb buffer in production setup (#331) 2016-11-07 17:23:17 +05:30
Nabin Hait
a8312f6cee Merge pull request #330 from vjFaLk/ssh-port
Added command to change SSH port
2016-10-24 12:23:03 +05:30
Valmik Jangla
366d3aa8c5 Fixed incorrect docstring
Changed run_playbook function for consistency with existing code
2016-10-21 03:48:18 -07:00
Valmik Jangla
2e9cfa5d02 Added command to change SSH port 2016-10-19 05:31:42 -07:00
Rushabh Mehta
786b997dc3 [minor] dont show CommandFailedError trace 2016-10-18 17:50:27 +05:30
Rushabh Mehta
3fe7392fa0 [fix] wkhtmltopdf executable 2016-10-13 13:13:43 +05:30
Rushabh Mehta
2cdd938d49 [fix] wkhtmltopdf executable 2016-10-13 13:08:12 +05:30
Rushabh Mehta
517a229565 [update] wkhtmltopdf 0.12.3 (#329)
* [update] wkhtmltopdf 0.12.3

* [minor] fix path

* [fix] make folder before move

* [path] try file copy

* [path] try file copy

* [copy] use sudo

* [copy] become root
2016-10-13 11:49:56 +05:30
Valmik
97d44518d3 Added command to setup firewall (#326)
* Added command to setup firewall

* Added validation to check for ansible, added ufw for ubuntu and debian
2016-10-13 11:49:27 +05:30
Valmik
1783cbc84f Setup lets-encrypt for custom domains (#301) 2016-10-13 11:48:22 +05:30
Rushabh Mehta
14215b8551 Revert "DNS Multitenancy by default" (#328) 2016-10-08 16:00:19 +05:30
Nabin Hait
015c8d756f Merge pull request #325 from shreyasp/python-ldap-fixes
[Fix] Install Python Ldap dependencies during bench installation
2016-10-06 16:54:13 +05:30
shreyas
4f92aa1026 [Fix] Install Python Ldap dependencies during bench installation 2016-10-06 14:58:31 +05:30
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
Nabin Hait
f0b67b2ff8 Merge pull request #317 from strixaluco/patch-1
[minor] readme update
2016-09-23 12:18:28 +05:30
strixaluco
7346df59ea [minor] readme update
“with patched Qt" is specified for wkhtmltopdf
2016-09-23 11:09:06 +08:00
Nabin Hait
81dbfa9ff2 Merge pull request #314 from shreyasp/minor-fixes
[Minor] Store mysql and admin passwords in passwords.txt and show success message after completion of the script
2016-09-22 18:03:54 +05:30
Rushabh Mehta
ed846f26f5 fix readme 2016-09-22 16:03:52 +05:30
Rushabh Mehta
1e97d460bc fix readme 2016-09-22 15:58:25 +05:30
Rushabh Mehta
8a853dbc51 Master (#315) (#316)
* 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

* fix readme
2016-09-22 15:56:12 +05:30
Rushabh Mehta
693d06252f fix readme 2016-09-22 15:53:08 +05:30
shreyas
6b5404e9c6 [Minor] Store mysql and admin passwords in passwords.txt and Show success message after completion of the script 2016-09-22 15:39:42 +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
Rushabh Mehta
df600f6458 Merge pull request #309 from webonyx/webonyx_commands
Add git utility commands
2016-08-29 12:20:31 +05:30
Rushabh Mehta
674373d2c4 Merge pull request #304 from mrmoje/master
Ignore set root pass error if root password is already set
2016-08-29 12:20:17 +05:30