Commit graph

930 commits

Author SHA1 Message Date
Suraj Shetty
39014b09d8
Merge branch 'develop' into star-rating-dev 2021-12-14 18:18:36 +05:30
mergify[bot]
7153c6c0e9
Merge pull request #15237 from netchampfaris/document-states
feat: Document States
2021-12-14 12:29:58 +00:00
Faris Ansari
3f133069a5 fix: Update indicator colors in kanban column 2021-12-14 13:42:40 +05:30
Diksha Jadhav
c477398a2f feat: make rating field's stars customizable with options field 2021-12-13 16:03:21 +05:30
Shridhar Patil
92aeb972b6
fix: fixed query to run on postgres db (#15239) 2021-12-12 05:10:25 +00:00
Shridhar Patil
6acbfd5e74
fix: Make query Postgres compatible (#15240)
* fix: updated query compatibale with postgres

* fix: updated query compatible with postgres
2021-12-12 05:01:06 +00:00
barredterra
0e31393326 fix: reload doctype IMAP Folder in patch 2021-12-10 16:34:45 +01:00
Manuel
3a34bfc520
Fix: copy_email_data patch #15106 (#15115)
Reload DocType `Email Account` in patch.
Changed `modified` in json files.

Removed linking of `imap_folder` in `Email Flag Queue` this connection
seems not necessary at this point. Also removed all parts that create
this connection.
2021-12-01 12:41:27 +00:00
Gavin D'souza
43fc713dd7 refactor: Remove Aggregation methods from DB API
* Make it DRY & make it "better"
* Add to patches.txt so the patch runs :')
* Style fixes - tabs > spaces for consistency, removed unnecessary
  blocks
2021-11-29 13:53:27 +05:30
Aradhya
e503d81173 perf: reduced no. of db calls 2021-11-29 13:07:31 +05:30
Aradhya
69108c4c86 Merge branch 'develop' of github.com:Aradhya-Tripathi/frappe into at/aggregations 2021-11-27 17:52:30 +05:30
Aradhya
5339008fef feat: Added patch for replacing db level aggregation calls 2021-11-27 14:35:58 +05:30
mtraeber
88e1777185 fix: frappe-linter, query rewritten 2021-11-23 16:05:56 +01:00
Manuel
09ad4478a7
Merge branch 'frappe:develop' into multiple_imap_folder 2021-11-17 08:01:49 +01:00
Shariq Ansari
eb6a93f76d fix: ignore route conflict validation for rename_custom_client_script patch 2021-11-11 16:29:04 +05:30
mtraeber
c3f78c4770 Merge branch 'develop' into multiple_imap_folder 2021-11-11 09:44:38 +01:00
Jannat Patel
88d8c1e56a fix: public info api 2021-11-08 20:17:07 +05:30
Jannat Patel
49e084868b fix: indentation and filter condition 2021-11-03 15:24:23 +05:30
Jannat Patel
f3f01d1978 fix: github api endpoint 2021-11-03 14:58:16 +05:30
Manuel
ce488e6a6f
Merge branch 'frappe:develop' into multiple_imap_folder 2021-10-27 09:14:49 +02:00
Ankush Menat
e8e90d4320 fix: patch failure due to incorrect args in query 2021-10-26 11:40:19 +05:30
Manuel
d8c8ca0e2f
Merge branch 'develop' into multiple_imap_folder 2021-10-25 12:05:28 +02:00
mergify[bot]
8cbbda7ab7
Merge pull request #14441 from Aradhya-Tripathi/query-conversion
refactor: replacing raw SQL queries with frappe ORM
2021-10-22 09:00:42 +00:00
Shariq Ansari
66314b1895
Merge branch 'frappe:develop' into wspace-code-cleanup 2021-10-18 10:58:47 +05:30
Aradhya-Tripathi
2c088c81ba refactor: Converted more queries 2021-10-15 05:00:46 +05:30
mtraeber
f608fbeddd feat: sync mutliple IMAP folders in Email Account
When working with IMAP accounts, frappe should allow the user
to choose multiple folders to look for new mails. This helps
users to separate their frappe-related email from other
conversations. Use cases range from sieve filters in the
mail server that stuff incoming mail in various mail folders
to people manually sorting their e-mail. In both cases, we
can have different import policies for different folders, and
we can avoid importing unrelated email.

Created a new child table `IMAP Folder` with following fields:
 - Folder Name (user-modifiable)
 - Append To (user-modifiable)
 - UIDVALIDITY (hidden)
 - UIDNEXT (hidden)

Doctype `Email Account` and `receive.py` code adjusted so that
emails with the changes are processed correctly and Frappe
only logs in to the imap server once per sync.

Created a patch that copies the data from the old fields into
the new child table with `INBOX` as default `folder_name`. This
keeps existing setups working without manual changes.

The original fields
 - uidvalidity
 - uidnext
 - append_to
are still available for the pop3 setups. In IMAP, these fields
are hidden user and not used.

Added a test case in `Email Account` that validates data to make
sure a IMAP folder is provided if the use_imap is true.

Also added some code formatting changes in email_account.js to get rid
of sider checks failures that block this change
2021-10-13 10:27:18 +02:00
abhishek
b2b391e90a style: misc 2021-10-11 17:23:17 +05:30
Shariq Ansari
5498ad8bd2 fix: Removed some more unused code 2021-09-21 12:43:12 +05:30
Shariq Ansari
5d00602f06 fix: Removing unused code for worspace 2021-09-20 21:27:14 +05:30
Gavin D'souza
43459749e2 Merge branch 'develop' into trim-db 2021-09-06 11:35:59 +05:30
Gavin D'souza
62593c49fb refactor: Rename arg table to doctype
This change was made to be "more accurate" about how the internal magic handled
2021-09-03 20:14:40 +05:30
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
shariquerik
82c354e918 fix: updated patch 2021-08-25 13:03:40 +05:30
shariquerik
4a468c14d3 fix: updated pah 2021-08-25 13:02:27 +05:30
shariquerik
2865b35673 patch: set title as label if extends is empty 2021-08-25 12:43:03 +05:30
leela
05166f919c fix: rename cancelled docs patch query
use backquotes in queries where column names are dynamic(To avoid query
issues incase reserved keywords used as a table columns.)
2021-08-17 22:48:52 +05:30
mergify[bot]
bd6ed2033f
Merge pull request #13152 from shariquerik/wiki-based-desk
feat: Workspace 2.0
2021-08-13 06:44:32 +00:00
shariquerik
0ada551207 fix: Removed build.json, changed patch to v14 2021-08-12 19:52:28 +05:30
Gavin D'souza
30cf8fd58d refactor: Use run instead of frappe.db.sql 2021-08-12 18:36:43 +05:30
mergify[bot]
29203416ad
Merge pull request #13904 from saxenabhishek/aks-style-qb
style: split qb.table into doctype and table
2021-08-11 05:24:34 +00:00
shariquerik
5bed8031a2 fix: removed padding code from wspace json files & patch 2021-08-10 17:52:42 +05:30
Shariq Ansari
1ab70d2145
Merge branch 'frappe:develop' into wiki-based-desk 2021-08-10 12:20:08 +05:30
leela
80d111baf2 refactor: set amended docname to original docname
Currently, whenever a document is amended it's name is set
to name-X(X is a counter) when amended again and so on. In this PR,
we have postfixed all cancelled document names with '-CAN' and new
cancelled documents gets a name as original_name-CANC-X.
so that amended docs can use the original name instead of name-X.
2021-08-09 14:59:07 +05:30
Your Name
946243d511 style: split qb.table into doctype and table 2021-08-07 03:31:35 +05:30
shariquerik
84f195ca19 fix: Resolved Conflicts 2021-08-03 17:53:14 +05:30
Gavin D'souza
f7b8f86666 Merge branch 'develop' of github.com:frappe/frappe into aks-orm 2021-07-30 13:10:59 +05:30
Gavin D'souza
5350210ad5 fix: Add patch to remove Data Import Legacy
This patch removes the document record from DocType list/table and adds
a message directing how existing data should be handled.
2021-07-30 12:31:07 +05:30
saxenabhishek
7671e78487 style: minor fixes and improvements 2021-07-30 11:29:41 +05:30
saxenabhishek
ce10e36725 refactor: move all pypika functions to a module 2021-07-30 11:00:35 +05:30
saxenabhishek
45d1afe739 refactor: move rename, change_column_type, DESC to db 2021-07-30 11:00:35 +05:30