Commit graph

37886 commits

Author SHA1 Message Date
gavin
ef971017c5
Merge pull request #16876 from netchampfaris/fix-metatags-description
fix: description metatag
2022-05-11 14:07:07 +05:30
Faris Ansari
eeab5edf5f test: test for metatag rendering 2022-05-11 13:29:03 +05:30
Faris Ansari
6994cc684f fix(metatags): check if value is set for key 2022-05-11 13:28:38 +05:30
gavin
b5a0410609
Merge pull request #16858 from ankush/realtime_buffering
fix: duplicate list_update realtime events
2022-05-11 12:58:06 +05:30
Ankush Menat
c55c8e4f97
refactor(DX): add type hints for some utilities (#16871)
- Added type hints to majority of most used functions in `utils/data.py`
- added overloads for functions whose output depends on input type. This helps A LOT if your LSP supports type narrowing (like pyright)


Example:
Same function with 3 diff singatures narrowed by input value. 
<img width="1270" alt="Screenshot 2022-05-10 at 8 02 02 PM" src="https://user-images.githubusercontent.com/9079960/167653595-2ab9441f-da40-4645-aa87-9ec0d96cbec9.png">
2022-05-11 06:14:31 +00:00
gavin
be888bac32
Merge pull request #16868 from gavindsouza/dashboard-view-fixes
fix: Dashboard view
2022-05-11 11:39:26 +05:30
Himanshu
5ac729252f
fix: change ordering to creation (#16863) 2022-05-10 19:41:11 +05:30
gavin
3370d227e8
Merge branch 'develop' into dashboard-view-fixes 2022-05-10 17:47:31 +05:30
Gavin D'souza
66ccd103ed fix: Fetch meta to ensure formatting for Dashboard Charts
* This handles setting meta for dashboard chart of types: Sum, Count,
  Average, Group By
* Dhashboard Charts of type Report have to pass fieldtype in chart data
  Dict to apply formatting. This can't be done magically AFAIK
2022-05-10 15:03:18 +05:30
Gavin D'souza
c16bec3407 chore: Simplify get_open_count doc usage 2022-05-10 15:00:52 +05:30
Ankush Menat
8a1889301a chore!: remove dead hooks app_icon & app_color 2022-05-10 14:41:01 +05:30
Ankush Menat
665f871c09 test: delete duplicate test 2022-05-10 14:41:01 +05:30
Ankush Menat
42942f36a6 feat: provide github workflow for unittest in new app 2022-05-10 14:41:01 +05:30
Ankush Menat
3fd4759dd4 fix: gitignore node_modules in new frappe apps 2022-05-10 14:41:01 +05:30
Ankush Menat
53f54c3761 refactor: use click for new-app prompts 2022-05-10 14:41:01 +05:30
Ankush Menat
74d7753a5a refactor: split make_boilerplate function 2022-05-10 14:41:01 +05:30
Gavin D'souza
d0efa8e3ff fix: Show site name along with debugging messages
Without the site name, the output doesn't really make sense :')
2022-05-10 13:33:53 +05:30
Gavin D'souza
b618d29296 fix(dashboard): Don't show stats in number widget if NaN 2022-05-10 13:32:40 +05:30
Gavin D'souza
7098f29dfe fix(dashboard): Consistent "No Data" message in all charts 2022-05-10 13:32:15 +05:30
Suraj Shetty
b92c911646
Merge pull request #16797 from hrwX/disable_change_log 2022-05-10 08:48:46 +05:30
Himanshu
d7b42e34fc
Merge branch 'develop' into disable_change_log 2022-05-09 16:44:30 +01:00
Suraj Shetty
4a3f0380dc
Merge pull request #16842 from ollyboy/develop 2022-05-09 20:03:33 +05:30
Ankush Menat
8a72cb1bdc
Merge pull request #16859 from surajshetty3416/fix-web-form
fix(webform): Only show published web forms
2022-05-09 19:43:33 +05:30
Suraj Shetty
e59e68efbd test: Add a case to cover webform publish functionality 2022-05-09 19:27:18 +05:30
Suraj Shetty
d23b293e1e fix(webform): Only show published web forms 2022-05-09 19:22:13 +05:30
Ankush Menat
970ae83147 fix: duplicate list_update realtime events
- list_update is fired separately from document.py, this causes duplicate events.
- move reportview specific realtime update
2022-05-09 19:19:21 +05:30
Saqib Ansari
61223092e0
fix: frappe.throw in case of list of errors (#16855) 2022-05-09 18:42:54 +05:30
gavin
bff95faad7
Merge pull request #16854 from ankush/dead_code
chore: remove dead code
2022-05-09 16:59:26 +05:30
Ankush Menat
1b36dcabe4 chore: remove dead code 2022-05-09 15:48:19 +05:30
gavin
ec4e75b640
Merge pull request #16542 from saxenabhishek/aks-feat-dbquery_update
feat: multi table support in db.query
2022-05-09 12:22:59 +05:30
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
Steve
48458aa129
Update list_settings.js
Don't limit list view to 4
2022-05-06 01:18:15 -04:00
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
Raffael Meyer
dff8d92b69
Merge branch 'develop' into disable_change_log 2022-05-04 17:26:05 +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