Commit graph

403 commits

Author SHA1 Message Date
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Suraj Shetty
30f5edf1bc
Merge branch 'develop' into cli 2021-08-25 13:10:11 +05:30
ChillarAnand
32759cfc90 fix: Passed failfast flag to unit test runner in all scenarios 2021-08-25 08:03:48 +05:30
Suraj Shetty
7103ec1b6c
Merge branch 'develop' into feat-autoreloader-for-ipython 2021-08-20 11:51:58 +05:30
Pruthvi Patel
09868c26a9 feat: add --autoreload flag 2021-08-20 11:41:41 +05:30
MitulDavid
29dfffb9c5 refactor: Replace .format() with f-strings 2021-08-18 19:32:16 +05:30
MitulDavid
b417218f1d test: Add support for Testing-Library queries within Cypress tests 2021-08-17 19:06:01 +05:30
Suraj Shetty
49684ca399 refactor: Make coverage context manager
- Decoupled coverage code from testing to setup code coverage before any import happen to get accurate coverage (before it used to skip import statements for some files)
2021-08-09 09:50:41 +05:30
Pruthvi Patel
6db4b6f2e6 fix: autoreload for only developer mode 2021-08-05 17:51:38 +05:30
Pruthvi Patel
b2b44b5939 feat: add autoreloader for ipython 2021-08-05 16:49:20 +05:30
ChillarAnand
85e5512c80 fix: Show traceback if custom app installation fails with exception 2021-08-05 11:47:34 +05:30
Faris Ansari
315eb8d08b feat: set-password site command
for resetting any user's password on a site
2021-08-01 12:32:15 +05:30
Leela vadlamudi
2c659e1bce
Merge pull request #13746 from leela/rq-auth
feat: Redis Authentication and namespaces for Redis queue instance
2021-07-30 09:07:31 +05:30
leela
db09a85183 refactor: Add authentication for Redis Queue 2021-07-26 21:09:34 +05:30
leela
9b437f8c90 feat: Add rq users 2021-07-20 05:45:17 +05:30
Gavin D'souza
4959dd02f1 refactor(minor): frappe.translate.get_messages_from_file
* Don't re-define frappe util - get_bench_path
* Add Python types
* Style changes
2021-07-14 20:40:43 +05:30
Gavin D'souza
2ac1c45c66 refactor: Maintain common list for Frappe Coverage settings
* Maintain common settings for coverage settings of parallel and base test suites
* Expand FRAPPE_EXCLUSIONS list based on coveralls.io report
2021-07-14 20:40:24 +05:30
gavin
59f4b4d754
Merge pull request #13554 from gavindsouza/drop-data-import-legacy
chore: Drop Data Import Legacy
2021-07-13 20:39:00 +05:30
barredterra
04094110f5 fix: handle detached head
Workaround for https://github.com/gitpython-developers/GitPython/issues/633
2021-07-13 13:11:15 +02:00
Gavin D'souza
0d0e527416 chore: Show deprecation warning in command help 2021-07-13 11:21:21 +05:30
Gavin D'souza
dc50b77179 chore: Drop Data Import Legacy 2021-07-13 11:21:21 +05:30
barredterra
93e5398d5d Merge branch 'develop' into bench_version_branch_commit 2021-07-05 20:26:08 +02:00
barredterra
d1555263e1 refactor: suggestions from review
- use -f / -- format instead of output
- get rid of ugly if / else statements
2021-07-05 19:52:12 +02:00
barredterra
ef0a5e904b feat: different output formats for bench version 2021-07-02 17:24:34 +02:00
mergify[bot]
dede680ceb
Merge pull request #13567 from alyf-de/bench_version_branch_commit
feat: print branch and commit on `bench version`
2021-07-02 08:24:55 +00:00
Ankush
d58d2ac77f
ci(cypress): use env variable for key (#13616)
documentation ref: https://docs.cypress.io/guides/guides/command-line#cypress-run
2021-06-30 23:05:05 +05:30
barredterra
f8ec3d711c feat: print branch and commit on bench version 2021-06-24 18:43:12 +02:00
Suraj Shetty
eba4c24503
Merge branch 'develop' into refactor-website 2021-06-04 11:15:12 +05:30
Gavin D'souza
a3b68cbc2e chore(cov): Drop duplicate pattern in omit list 2021-06-03 21:46:39 +05:30
Gavin D'souza
9b164571c3 fix: Update coverage omit files
Apply 0d8aeba3ee for parrallel test runner
2021-06-03 20:51:28 +05:30
Gavin D'souza
0d8aeba3ee fix: Update coverage omit files
Files that don't end with .py or .pyo ot .pyc are automatically
skipped by coveragepy. Updated omit list accordingly to remove non
python importable files.

ref: https://coverage.readthedocs.io/en/coverage-5.5/source.html#execution
2021-06-03 18:59:00 +05:30
Suraj Shetty
2d8c6c1710 Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website 2021-06-03 11:43:28 +05:30
Gavin D'souza
e407b78506 chore: Drop dead and deprecated code
* Remove six for PY2 compatability since our dependencies are not, PY2
  is legacy.
* Removed usages of utils from future/past libraries since they are
  deprecated. This includes 'from __future__ ...' and 'from past...'
  statements.
* Removed compatibility imports for PY2, switched from six imports to
  standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
  versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
2021-05-26 15:31:29 +05:30
Suraj Shetty
e6d701b038 refactor: Use clear_website_cache instead of clear_cache 2021-05-25 15:02:18 +05:30
Suraj Shetty
86897c1808 refactor: Remove render.py and move all utility functions to utils.py
- Replace or remove all render imports
2021-05-25 10:53:35 +05:30
Gavin D'souza
33ba6494f8 Merge branch 'develop' into deprecation-warnings 2021-05-19 13:18:13 +05:30
Gavin D'souza
2dde3a9b01 fix: Hide all warnings in frappe commands
Hide all warnings when triggered via frappe.utils.bench_helper
2021-05-19 12:47:57 +05:30
Faris Ansari
f8ca990a83 Merge remote-tracking branch 'upstream/develop' into esbuild 2021-05-16 11:26:43 +05:30
Gavin D'souza
e0be2cc535 Merge branch 'develop' into misc-fixes-py3-1 2021-05-12 21:02:26 +05:30
Gavin D'souza
098f1564f3 refactor: bench build
* Deprecate --make-copy and --restore options for build in favour of --hard-link
* Show feedback for linking/copying application assets
2021-05-11 21:15:20 +05:30
Gavin D'souza
e18f080453 chore: Hide all warnings in bench console 2021-05-11 15:25:41 +05:30
Suraj Shetty
e1fec81ae3 feat: Add option to run parallel test with orchestrator 2021-05-09 11:27:58 +05:30
Suraj Shetty
76348b892f refactor: Move parallel test runner code to a separate file 2021-05-09 09:32:28 +05:30
Suraj Shetty
85f6f47edc Merge branch 'develop' of https://github.com/frappe/frappe into python-distributed-testing 2021-05-08 11:27:42 +05:30
Suraj Shetty
2c54549677 feat: Make parallel test independent of test orchestrator 2021-05-07 21:58:43 +05:30
Faris Ansari
add84065ad Merge remote-tracking branch 'upstream/develop' into esbuild 2021-05-07 12:55:04 +05:30
Gavin D'souza
71fe804307 fix(cli): Handle incorrect site names
Show "Site {site} does not exist!" and exit with code 1 instead of traceback
2021-05-07 12:11:37 +05:30
Gavin D'souza
bf9fcb3ff6 chore(cli): Add pending deprecation warning
* Add PDW for --as-dict in command set-config
* Move all top level imports inside each util to optimize imports for
  CLI
* Set always show filter for DeprecationWarning, PendingDeprecationWarning via frappe module
2021-05-05 15:33:44 +05:30
Gavin D'souza
8cd6b520ed refactor(minor): Bench set-config
* Replace --as-dict with a more apt --parse
* Fixed styling
* Renamed variables
2021-05-05 13:37:09 +05:30
Gavin D'souza
73ff84da8e chore: Drop redundant command auto-deploy 2021-05-04 18:10:31 +05:30