Commit graph

37851 commits

Author SHA1 Message Date
gavin
d29641f734
Merge branch 'develop' into aks-feat-dbquery_update 2022-05-09 12:02:36 +05:30
Suraj Shetty
92dd1a0d28
Merge pull request #16819 from Altizo/develop
fix: Update translate
2022-05-06 14:23:06 +05:30
Suraj Shetty
fa15bd2758
Merge pull request #16844 from surajshetty3416/fix-date-inconsistency
fix(date control): Do not try to convert timezone of date
2022-05-06 13:43:33 +05:30
Suraj Shetty
852dbae6ce fix: Do not convert timezone of date field 2022-05-06 12:09:13 +05:30
Suraj Shetty
0f7d8e7903
Merge pull request #16841 from pateljannat/web-form-login-message 2022-05-06 11:14:08 +05:30
Jannat Patel
5941f3c4ac fix: better login message 2022-05-06 10:24:34 +05:30
Jannat Patel
2aa09c9033 fix: web form login message 2022-05-06 10:19:32 +05:30
Suraj Shetty
e5b36b214a
Merge pull request #16839 from surajshetty3416/fix-ui-flaky-tests 2022-05-05 20:02:27 +05:30
Suraj Shetty
116fe34e74
Merge pull request #16817 from phot0n/remove-is_first_startup 2022-05-05 19:35:10 +05:30
Suraj Shetty
4be5ca6481 Merge branch 'develop' of https://github.com/frappe/frappe into fix-ui-flaky-tests 2022-05-05 19:28:00 +05:30
Suraj Shetty
2dfdb90e2d
Merge branch 'develop' into remove-is_first_startup 2022-05-05 18:45:27 +05:30
Suraj Shetty
a444968e14
Merge pull request #16837 from alyf-de/autocomplete-login 2022-05-05 18:39:59 +05:30
Suraj Shetty
7b5531ce86
Merge pull request #16838 from frappe/surajshetty3416-patch-1 2022-05-05 18:38:07 +05:30
Suraj Shetty
aac9378beb
test: Disable flaky test
Unable to find the cause of the flakiness of the test. Disabling it for now.

Also, the form_tour test is full of `wait` which is bad anyway.
2022-05-05 18:37:08 +05:30
barredterra
de45cf9bbd feat: Use autocomplete attributes for login, signup and password reset 2022-05-05 13:13:40 +02:00
Ankush Menat
c31eca3ba5
fix: circular imports (#16830)
Circular imports issue when loading modules in background worker. Doesn't happen in web worker or console 🤷
2022-05-04 19:09:53 +05:30
Shariq Ansari
b4e43257c3
fix: bad query if user has ' in the email address (#16796) 2022-05-04 19:07:51 +05:30
Sagar Vora
a33c2e2abe
refactor(BaseDocument)!: improved get, set and extend methods (#16540)
* perf!: 80% faster doc.get for fields with `None` as value

* perf: quicker init child (#3)

* refactor: avoid repitition and improve error message

* test: `doc.extend`

* fix: improve constant naming

* fix: minor improvements and tests

* refactor: improve naming
2022-05-04 18:37:06 +05:30
Ankush Menat
92fcc7c466
Merge pull request #16829 from ankush/deferred_insert_fix
fix: handle dict data in deferred_insert
2022-05-04 16:55:11 +05:30
Ankush Menat
05f9201e07 fix: dont manually commit after flushing deferred_insert
this runs from scheduled job which commits after finishing.
2022-05-04 14:59:19 +05:30
Ankush Menat
ed78a23748 fix: handle dict data in deferred_insert
vanilla dict doesn't have attrs, setattr fails
2022-05-04 14:59:17 +05:30
phot0n
cd4b1ebe8f chore: use qb for patch 2022-05-04 13:35:57 +05:30
gavin
65d70e08e1
Merge pull request #16815 from gavindsouza/simplify-setup-wizard
fix: Simplify setup wizard
2022-05-04 12:24:58 +05:30
Gavin D'souza
73c87c0e29 fix: Hide progress bar for less than 2 slides 2022-05-04 11:46:12 +05:30
Ankush Menat
d1938ee271
perf: remove naming series from log-like doctypes (#16823)
- webhook request log
- access log
2022-05-04 10:54:52 +05:30
phot0n
ff080cde5a minor: add patch for removing is_first_startup field 2022-05-04 10:43:59 +05:30
phot0n
33b49b4d46 refactor(minor): remove is_first_startup from System Settings 2022-05-04 10:43:59 +05:30
Vladislav
03bdd2e53b
Merge branch 'frappe:develop' into develop 2022-05-02 20:27:35 +03:00
Vlad
34b1beae5b fix: Update translation 2022-05-02 20:26:03 +03:00
mergify[bot]
ee40bda491
Merge pull request #16602 from resilient-tech/int-req
refactor: Integration Request
2022-05-02 12:49:27 +00:00
Vladislav
2b8b97fcc9
Merge branch 'frappe:develop' into develop 2022-05-02 15:38:10 +03:00
Ankush Menat
4310a2ecca
fix(UX): suggest app-specific password for gmail logins (#16812) 2022-05-02 17:30:21 +05:30
Gavin D'souza
6cb8127e8d fix(setup_wizard): Make language field Autocomplete 2022-05-02 16:56:25 +05:30
Gavin D'souza
a688577a3f fix(setup_wizard): Merge language & country info slides
Minimizing the number of slides required for setting up a new site. In
developer mode, only one slide is visible now titled "Hello" or
selected language equivalent.
2022-05-02 16:19:38 +05:30
gavin
f8a7d04010
Merge pull request #16808 from ruchamahabal/fix-razorpay-error-log
fix: `frappe.log_error` arguments while capturing razorpay payment failures
2022-05-02 10:50:09 +05:30
gavin
30c4425079
Merge pull request #16806 from KrutikaBhatt/sort_by_fix
fix(bug): required meta field is used inplace of mandatory
2022-05-02 10:49:56 +05:30
Rucha Mahabal
693a6a7789 fix: frappe.log_error arguments while capturing razorpay payment failures 2022-05-01 11:34:08 +05:30
KrutikaBhatt
2e4953b8ec
fix(bug): required meta field is used inplace of mandatory 2022-04-30 19:58:52 +05:30
Ritwik Puri
76a6c282b8
fix: use proper validations for number card validation method (#16581) 2022-04-29 16:07:40 +05:30
Ritwik Puri
b41379c78b
fix: misc fixes (integer primary keys) (#16307)
* fix: misc fixes

local.x gets resetted on every request so switched to a simple dict

simplified is_val_used in set_next_val function for sequences

* chore: use multisql for sequence methods

* fix: fields not updating on form

* minor(base_input): removed unnecessary branching in update_input

* chore: remove prints and rename autoincremented_status_map

* chore: added proper type hint + comment + formatting

* fix: added searching in cast_name rather than handling it manually

* fix: share condition query + test_build_match_conditions

* fix: add cast_name to more places

* test: test for sequence

* fix: sequence functions

* fix: inherit frappetestcase

* minor: attach sequence methods to db context local

* chore: update sequence function names in Database

use frappe.db for sequences in naming.py

* fix: convert filename to str (for autoincremented doctypes)

* chore: better regex for modifying values for postgres

* minor: allow changing name column type (if no data is present in the doctype)

* refactor: validate_autoname

converted it to a simple function
enabled changing autoincrement autoname from customize form

* fix: use sql_ddl for change_column_type in postgres

* fix: use not null constraint in postgres when changing name type

* fix(test): updated test_autoincremented_doctype_transition with transitioning when no data is present

* fix(test): updated test_cast_name

probably messed up during rebase

* fix(test): used rollback upon error in transaction for postgres

* chore: use frappe.db.x methods for sequences

* minor: use temporary sequences in test

* minor: use generate_hash for sequence naming in sequence tests

* chore: replace sequence imports with frappe.db.x

* chore: move out casting name fields to a separate method

* refactor: cast_name

more explicit cases for casts and added docstring

* fix: added space in test_cast_name

* chore: fix linter

* chore: better naming for can_change_name_column_type

* chore: add comment for autoincremented_site_status_map

* chore: update/add docstrings
2022-04-29 15:06:03 +05:30
gavin
5bfb55dd21
Merge pull request #16800 from gavindsouza/article-schema-fix
fix: Use BlogPosting schema for Article
2022-04-29 14:46:12 +05:30
Gavin D'souza
6d96f11dd9 fix: Use BlogPosting schema for Article
Fixes https://github.com/frappe/frappe/issues/1730
2022-04-29 14:38:35 +05:30
Suraj Shetty
bec77dba0d test: Fix flaky tests
Disable form tour tests
2022-04-28 19:32:43 +05:30
saxenabhishek
ba51289c37 test: update test_multiple_tables_in_filters 2022-04-28 17:10:31 +05:30
saxenabhishek
36de21c059 feat: left join tables by default 2022-04-28 17:10:31 +05:30
saxenabhishek
b1a0a3816b style: Applied Frappe linting 2022-04-28 17:10:31 +05:30
saxenabhishek
0450a25822 test: get_count 2022-04-28 17:10:31 +05:30
saxenabhishek
3498445733 test: multiple_tables_in_filters 2022-04-28 17:10:31 +05:30
saxenabhishek
d39e6a7890 refactor: new query engine in get_count() 2022-04-28 17:10:31 +05:30
saxenabhishek
c9df86f9ef feat: multi table queries 2022-04-28 17:10:31 +05:30