Commit graph

128 commits

Author SHA1 Message Date
Chinmay D. Pai
459e550a3f
fix(requirements): remove psycopg2 from requirements
apparently, since version 2.8, psycopg2 does not install the binary
version by default (read source), and hence fails on setup with the
error:

Error: pg_config executable not found

since nobody can really be arsed to compile this binary on their own,
we'll stick to using psycopg2-binary instead.

source: https://www.postgresql.org/message-id/CA%2Bmi_8bd6kJHLTGkuyHSnqcgDrJ1uHgQWvXCKQFD3tPQBUa2Bw%40mail.gmail.com

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2019-12-31 18:19:15 +05:30
Sagar Vora
58e1bc5ce1 fix: update version pinning for python 3.8 compatibility 2019-12-27 15:07:17 +05:30
Faris Ansari
488c68df96
Merge branch 'develop' into refactor-scheduler 2019-12-02 13:16:45 +05:30
gavin
695e212575
Merge branch 'develop' into drop-selenium 2019-11-29 13:13:33 +05:30
gavin
7daa6736f6
chore(deps): [security] bump markdown2 from 2.3.5 to 2.3.6
redo https://github.com/frappe/frappe/pull/8811 after merging https://github.com/frappe/frappe/pull/8823
2019-11-27 20:37:19 +05:30
Gavin D'souza
aa217e3b46 fix(compat): pin requirements for backwards compatibility
gunicorn==19.9.0
ipython==5.8.0
openpyxl==2.6.4

to update these packages, will have to drop support for py2
2019-11-15 15:35:54 +05:30
Gavin D'souza
6cb2a9c2ee chore: added selenium requirements 2019-11-15 13:45:33 +05:30
Gavin D'souza
a3b100daae chore: manual requirements.txt generation 2019-11-15 13:36:47 +05:30
Gavin D'souza
ae48dfe2b4 chore: dropped legacy selenium dependant tests
selenium TestDriver deprecated
--ui-tests flag in `bench run-tests` deprecated
2019-11-13 15:01:05 +05:30
Gavin D'souza
babcf7d25b chore: trimmed requirements by pipreqs 2019-11-12 16:07:19 +05:30
Rushabh Mehta
463d1c5ec5 fix(major): upgrade redis-py and rq and try and fix scheduler tests 2019-11-07 12:14:09 +05:30
Rushabh Mehta
9d615f7f12 fix(security): use restricted python 2019-10-11 14:16:49 +05:30
Mangesh-Khairnar
e9e2a89dc8 Fix: lock click version (#8561) 2019-10-09 10:00:55 +05:30
Faris Ansari
07eedad5bb fix: Parse .xls and .xlsx files in import 2019-09-29 22:41:29 +05:30
Aditya Hase
3eb7e175fe
fix(requirements): Use googlemaps 3.1.1
Fixed with https://github.com/googlemaps/google-maps-services-python/pull/308
2019-08-29 16:17:53 +05:30
Aditya Hase
1eee1baa12 fix(requirements): Use googlemaps 3.0.2 (#8282)
MANIFEST.IN for googlemaps doesn't include CHANGELOG.md
https://travis-ci.org/frappe/frappe/jobs/577721078
2019-08-28 15:39:51 +05:30
Prssanna Desai
1fb0f9df89 fix: PyYAML version in requirements (#8219) 2019-08-21 14:27:34 +05:30
Faris Ansari
1e19d62323 feat: Add frontmatter block support in .md files
Frontmatter blocks can be used to add context variables for rendering
the page
2019-07-07 21:37:29 +05:30
Rohit Waghchaure
42f84f5914 fix: issue in the latest version of babel, set it to 2.6.0 2019-05-29 13:15:48 +05:30
Aditya Hase
53ee408e39 chore(recorder): Add pygments to requirements.txt 2019-03-14 14:00:54 +05:30
Aditya Hase
0621dc1146 chore: Add sqlparse to requirements.txt 2019-02-19 21:58:58 +05:30
Rushabh Mehta
d0b9d1f026 fix(patch): drop apply_user_permissions column before reloading comment 2019-02-18 11:16:35 +05:30
Sagar Vora
17b20b22a3 Merge branch 'master' into develop 2019-02-12 16:31:54 +05:30
Sagar Vora
ea82d6b485
fix: unfreeze oauthlib, requests-oauthlib (#6922) 2019-02-12 16:14:38 +05:30
Rushabh Mehta
c62f3155f2
update(frappe): Update dependency Oauthlib (#6832)
Update dependency oauthlib to 3.0.0

updates interdependent lib requests-oauthlib to 1.2.0
2019-01-31 16:35:57 +05:30
Rushabh Mehta
ef23700256
update(frappe): Update dependency Oauthlib (#6832)
Update dependency oauthlib to 3.0.0

updates interdependent lib requests-oauthlib to 1.2.0
2019-01-25 18:31:52 +05:30
Sagar Vora
47c0d10631 Merge branch 'staging' into develop 2019-01-22 15:43:40 +05:30
Sagar Vora
98bd66ba00 fix(requirements): freeze requests-oauthlib to 1.1.0 2019-01-20 10:35:57 +05:30
Saurabh
d1bed88f3f Merge branch 'staging' into develop 2019-01-15 19:14:06 +05:30
Saurabh
ebca5aabdb fix: block oauth package version to 2.1.0 2019-01-09 12:54:20 +05:30
Suraj Shetty
1709dd21e3 Freeze psycopg2 version 2018-11-17 15:05:38 +05:30
Suraj Shetty
80931e7467 Add psycopg2-binary package to fix postgres test 2018-11-17 13:37:51 +05:30
Ameya Shenoy
47097bb15b
fix: requirements 2018-11-16 15:15:31 +05:30
Ameya Shenoy
564d459dbc fix(requirements): lockdown python requirements (#6481) 2018-11-16 06:11:02 +05:30
Ameya Shenoy
3f2335dd87
Merge pull request #6475 from Thunderbottom/redis-requirement-freeze
redis: freeze requirement to 2.10.6
2018-11-15 16:45:26 +05:30
Chinmay Pai
ca59cdc373
redis: freeze requirement to 2.10.6
the new redis 3.0.0 update has breaking changes, so we freeze the version to 2.10.6 for now.
2018-11-15 16:39:42 +05:30
Ameya Shenoy
be8f37dc5b fix(update message): multiple fixes
- added GitPython as a dependency
- use git describe to find the branch version
- prevent version popup for prereleases
- check for update weekly instead of daily
- fixed bug in check for update which used to compare minor version even
if there was a mismatch in comparing major versions

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2018-10-18 13:56:32 +00:00
Ameya Shenoy
2bc7d159f0
fix(travis): python package version management
- urllib3 to 1.23
- bleach to 2.1.4
2018-10-18 12:45:59 +00:00
Ameya Shenoy
c6e4699e5b removed bad code and made compatible with pip 10 (#5458) 2018-04-30 11:22:09 +05:30
tundebabzy
a5cd234326 remove psycop from requirements (#4562) 2017-12-01 12:06:15 +05:30
Dominik
eafecf9241 [New Integration] Googlemaps and edit Standard Reply Naming 2017-11-17 15:46:41 +08:00
Nabin Hait
4b5893509a Fixed Merge Conflict 2017-11-14 13:56:42 +05:30
Saurabh
21ee6ffed0 [fix] temporarily freeze html2text to version 2016.9.19 (#4478) 2017-11-14 13:46:24 +05:30
Achilles Rasquinha
3343153365 Remove psutil (#4437) 2017-11-06 18:38:05 +05:30
Achilles Rasquinha
b8825ca116 Pure Python MySQL instead mysqlclient (with Python C API) (#4280)
* added PyMYSQL instead mysqlclient-python

* added pymysql import

* fixed db module import

* foxed self._conn wrapper

* updated cursor migration

* removed existent converters

* some more fixes towards API port

* modified travis

* updated doctype and revereted yml

* modified travis

* refreshed logging

* raw fix

* moved from hard coded constants to declarable instances

* moved from hard coded constants to declarable instances

* refactoring and logging

* moved to global import declaration

* fixed codacy

* unfixed codacy

* minor fix

* binary_type has a single

* deprecated alternative

* merged with latest

* fixed merge conflicts

* using deprecated alternative

* raw fix

* stupid fix

* using StringTypes instead

* brutal hack

* log

* tundebazy to the rescue

* fixed content_hash error

* frappe/database.py

* frappe/database.py

* updated database.py

* updated requirements

* updated requirements

* fixed codacy

* fixed codacy

* moved from DatabaseOperationalError to pymysql.InternalError

* moved from DatabaseOperationalError to pymysql.InternalError

* fixed codacy

* empty commit

* fixed codacy

* fixed codacy
2017-11-06 16:42:01 +05:30
Faris Ansari
80054e0f28 Data Migration Tool Hotfix (#4396)
* Add get_source_value to utils, and use it to get value from object or dict

* GitHub connector

* fix codacy

* remove print statement

* Remove Github Connector

* Data Migration Connector

- Create new connection with boilerplate
- Add Run button in Data Migration Plan

* minor

* fix codacy

* remove pygithub

* Minor

- Remove button from form and add to custom button
- Remove is_custom field
- Add Connector Type 'Custom'
- Show New Connection button only in developer mode

* [fix] logging

- only store the name, not the whole json

* [fix] tests
2017-10-27 15:55:41 +05:30
Britlog
355b1d98b6 Change mysqlclient package to avoid error in Debian (#4393) 2017-10-27 15:32:02 +05:30
joezsweet
299ab6198a Cron like events scheduler (#4339)
* - trigger new "cron" event
- check cron string syntax
- added croniter to requirements

* - run scheduler ever 60 sec
- trigger all enabled events
- enqueue if now >= next time execution since last one

* Update task-runner.md

* fixed tests

* fix triggering with now = True

* modified sobstitution to cron_map
modified annually label to annual

* ability to use labels defined in cron_map in cron string definition
2017-10-27 14:48:48 +05:30
Rishabh Nambiar
0e412de72e [major] AWS S3 Integration for Frappé (#4272)
* Added S3 Integration, need to add backup limit

* Fix validation in s3 doctype

* Added auto-deletion of old backups and backup_limit usage

* Fixes for codacy PR review

* Improved exception handling.

* Update s3_backup_settings.py
2017-10-17 12:45:25 +05:30
Faris Ansari
d20f9e2895 Data Migration Tool (for hub) (#4144)
* migration tool

* custom field for primary key added

* foreign key and multiple linking F_key issue resolved

* refined code

* many-to-one mapping temp fix

* added support for pre-process + cleaned up code

* [various] fixes to setup wizard for developer mode, frappe.enqueue_doc, share with assign

* Refactor data migration module

* added migration for hub

* Add "Skip errors" in data import tool

* move db_set to document.py

* Add Data Migration Run

* Dynamic Migration ID

* move run() from Mapping to Run

* Push Deleted Documents

* fixes

* [migration] doc operation counts

* insert and update instead of push in connection

* fix count and total_pages, skip sync if total_pages is 0

* [migration] child tables

* fix complete()

* [page] remove required libs

* Add sidebar.js, rename old sidebar.js to form_sidebar.js

* [minor] get_empty_state fixes

* svg in icon

* remove image check

* fix codacy

* fix is_child_table check

* [connector] add get_list()

* Add test for Data Migration Run

* fix test

* truncate tabNote

* fix test

* sync todo with event to fix test

* fix db count

* [mapping] export Mapping to json

* Add docs for Data Migration Tool

* [migration] pull data as list, test case

* [hub] remove mapping export to files

* Pull refactor

* [test]

* Add comments

* [mapping] exec in mapping formula

* fix codacy

* fix codacy

* Remove exec for pre-process and post-process

* Add pre and post process for Push

* Remove formula

* fixes

* [refactor] add failed_log to pull, handle error in pull

* [test] Push, pull, update

* Fix codacy, fix insert_doc for pull

* Set migration id on successful insert

* fix update_doc

* fix update_doc

* method is a function

* child table mapping

* Refactor logging

* fix update_doc again

* fix hostname, password

* update docs, minors

* Remove assign_if_none

* Remove error handling from connection methods

* [refactor] Data migration run

* Break push stages into methods

* Migration run refactor

- fix test
- add separate fields for logging

* fix codacy

* fix hostname password

* fix test
2017-10-05 11:15:35 +05:30