Commit graph

33053 commits

Author SHA1 Message Date
Suraj Shetty
1a41e16e2a fix: Blog post style 2021-05-27 15:14:27 +05:30
Suraj Shetty
369adf5a3a fix: Set default value as empty string 2021-05-27 14:44:47 +05:30
Suraj Shetty
6c05401495 Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website 2021-05-27 14:28:33 +05:30
Suraj Shetty
c8749bcc72 fix: get_index_path_options method 2021-05-27 14:27:30 +05:30
Faris Ansari
914daed6e4
Merge pull request #13349 from netchampfaris/assets-json-path 2021-05-27 14:17:57 +05:30
Suraj Shetty
6e9207cd62 test: Refactor webpage test to remove unnecessary operations 2021-05-27 12:58:48 +05:30
Suraj Shetty
9ec451b28e test: Add test case to check breadcrumbs 2021-05-27 12:57:55 +05:30
Suraj Shetty
d13eac6f50 fix: Breadcrumbs for a page 2021-05-27 12:56:38 +05:30
Faris Ansari
23406d031a fix: Store assets.json directly in assets folder
assets.json stores assets of all apps, so doesn't make sense to put it in frappe folder
2021-05-27 11:50:56 +05:30
Suraj Shetty
ab9b6bf36e
ci: Run ui tests after PR merge for status badge 2021-05-26 15:46:41 +05:30
Suraj Shetty
71632073ec
chore: Fix status badge link 2021-05-26 15:45:02 +05:30
Suraj Shetty
df0143f948
Merge pull request #13204 from hasnain2808/allow-naming-series-update 2021-05-26 12:42:47 +05:30
Suraj Shetty
33a97196e1 fix: Init page properties in webpage 2021-05-26 11:51:34 +05:30
Suraj Shetty
38fdfc369a test: Use assertIn for better error message 2021-05-26 11:51:12 +05:30
hasnain2808
71604d479a chore: Merge branch 'develop' into allow-naming-series-update
:# Please enter a commit message to explain why this merge is necessary,
2021-05-26 11:30:55 +05:30
Suraj Shetty
e19c18e5a9 refactor: Move context value setting code to a separate function 2021-05-26 11:03:33 +05:30
Suraj Shetty
40bd818c0b test: Add attributes via frontmatter 2021-05-26 10:40:43 +05:30
Suraj Shetty
646612be09 fix: Colocated asset load 2021-05-26 10:40:16 +05:30
Akshay Kumar Tripathi
b0f1bbc378
fix: corrected the function get_url (#13330)
* Removed /Form from the function get_url

As per issue #12820, I think /Form was causing a problem so I removed it. Now the get_url returns URL in the format: "app/doctype/name".

* fix: Change to f-strings

* Implement slug on get_url

* Removed slug for names
2021-05-26 05:07:50 +00:00
Suraj Shetty
52353d1967 Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website 2021-05-26 10:21:56 +05:30
mergify[bot]
8ebc251394
Merge pull request #13065 from gavindsouza/api-updates
fix: Evaluate boolean values better via /api/resource/<doctype>
2021-05-26 04:41:55 +00:00
Suraj Shetty
8764134309
ci: Run mariadb tests after PR merge for coverage badge 2021-05-26 10:02:12 +05:30
Gavin D'souza
b215921a97 fix: Convert only as_dict and debug values to bool
Given the scope of its usage at this point, this becomes a problem when you'd have a field named y,n, true, false and order_by that field, or have the same values for a document name that parent parameter would accept out of all those that Frappe REST allows.
2021-05-25 21:44:54 +05:30
mergify[bot]
21473aced7
Merge pull request #13338 from resilient-tech/fix-cb-grid
fix: double checkboxes in editable grid
2021-05-25 15:47:38 +00:00
Sagar Vora
e79ce22d4d fix: double checkboxes showing in editable grid 2021-05-25 19:41:03 +05:30
Suraj Shetty
78206bea8f test: Clear hook cache after updating hook 2021-05-25 16:39:48 +05:30
Suraj Shetty
96de436219 Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website 2021-05-25 16:18:41 +05:30
Suraj Shetty
878ac658b2
Merge pull request #13333 from surajshetty3416/fix-breakpoint
feat: Add grid breakpoint css_variables
2021-05-25 16:08:22 +05:30
mergify[bot]
1c5747bf71
Merge pull request #13286 from gavindsouza/router-fix
fix: Don't strip 'app' from doctype route names
2021-05-25 10:31:12 +00:00
Suraj Shetty
ad8b844942 feat: Add grid breakpoint css_variables
So that other apps does not have to be dependant on 'variables' file to get grid sizes
2021-05-25 15:51:59 +05:30
mergify[bot]
b7312545f2
Merge pull request #13296 from resilient-tech/fix-col-heading
fix: set title attribute for grid header columns
2021-05-25 09:52:32 +00:00
Suraj Shetty
e6d701b038 refactor: Use clear_website_cache instead of clear_cache 2021-05-25 15:02:18 +05:30
Suraj Shetty
ca56b21290 test: Check all cases of setting homepage 2021-05-25 15:01:20 +05:30
Suraj Shetty
d88ce8e807 test: Add test to check replacement of {next} & {index} identifiers 2021-05-25 13:32:20 +05:30
mergify[bot]
b726f4bff7
Merge pull request #13325 from frappe/dependabot/npm_and_yarn/browserslist-4.16.6
chore(deps): bump browserslist from 4.4.2 to 4.16.6
2021-05-25 05:39:45 +00:00
gavin
6fb979b81c
Merge pull request #13206 from ankush/slack_disable_link
feat(minor): option to disable button in slack message
2021-05-25 11:05:34 +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
Suraj Shetty
8317e00712 refactor: Rename page_controllers folder to page_renderers 2021-05-25 09:27:26 +05:30
Suraj Shetty
bb68dd7323 fix: Add comment properties back with deprecation warning 2021-05-25 09:24:32 +05:30
Suraj Shetty
d0915a709b fix: Make http_status_code non mandatory 2021-05-25 08:22:45 +05:30
Suraj Shetty
70a8bd5945 refactor: Rename validate function to can_render 2021-05-25 08:21:06 +05:30
dependabot[bot]
62015292da
chore(deps): bump browserslist from 4.4.2 to 4.16.6
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.4.2 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.4.2...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-25 00:44:04 +00:00
mergify[bot]
19d905a2e8
Merge pull request #13295 from resilient-tech/fix-report-link
fix(Workspace): broken links for reports created with Report Builder
2021-05-24 17:10:53 +00:00
Suraj Shetty
cbd00179cb fix: Move set_missing_values to base_template_page
- Since it is common for all inherited pages from base_template_page
2021-05-24 22:31:23 +05:30
Ankush Menat
ba1c11008f
feat: option to disable button in slack message
Add a checkbox that lets user disable button which has link to the
document.
2021-05-24 22:01:45 +05:30
Suraj Shetty
63ce0c5136 fix: Fallback to template_path if template is not set 2021-05-24 21:53:09 +05:30
Kenneth Sequeira
6632b5876a
feat(minor): add number format parameter in fmt_money (#13255)
* feat: add number format parameter in fmt_money

* review fix: move new parameter at the end

Co-authored-by: Kenneth Sequeira <kenneth@Kenneths-MacBook-Air.local>
2021-05-24 16:14:56 +00:00
Suraj Shetty
15f5b697d3 fix: Website template path 2021-05-24 19:52:31 +05:30
Suraj Shetty
1a0a095b34 fix: Template path for document_page 2021-05-24 14:55:42 +05:30
mergify[bot]
1ac27efa7a
Merge pull request #13309 from gavindsouza/exempt-button-customize
fix(DocType): Skip field name conflict validation for No value fields
2021-05-24 08:46:09 +00:00