Commit graph

37898 commits

Author SHA1 Message Date
Ankush Menat
ba5004e5cc chore: bump plyr to latest version 2022-05-12 16:30:30 +05:30
gavin
cdb92f2dfa
Merge pull request #16747 from ChillarAnand/atom
feat: Added force flag to install-app command
2022-05-12 13:50:16 +05:30
Ankush Menat
8c02971224 chore: misleading typehint
[skip ci]
2022-05-12 11:30:05 +05:30
Ritwik Puri
7fa9c42711
Merge branch 'develop' into atom 2022-05-11 22:35:09 +05:30
phot0n
d28eb94281 test: test for force install-app
Note: this is a very minimal test, as frappe_docs doesn;t really have any doctypes
2022-05-11 22:34:18 +05:30
phot0n
c89a66a694 fix: only set home_page in after_install, if the key doesn't have value 2022-05-11 16:18:14 +05:30
phot0n
5b4fb3f2cf fix: don't add navbar items if theyre already present
* fix: don't set installed_apps global value in after_install hook
2022-05-11 16:18:14 +05:30
phot0n
ef99b57a08 chore: use secho instead of raising exception if app is already installed
* chore: singular click import
2022-05-11 16:18:14 +05:30
phot0n
fc6093515d chore: add comments and add force flag to more places 2022-05-11 16:18:14 +05:30
chillaranand
d2b63d0935 feat: Added force flag to install-app command 2022-05-11 16:18:14 +05:30
Suraj Shetty
5c9542ab3f
Merge pull request #16860 from ollyboy/develop 2022-05-11 14:36:01 +05:30
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
Steve
8c768b509f
Update list_view.js
Be consistent with other list view settings, max fields allowed is 10
2022-05-10 10:47:51 +10:00
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