Commit graph

444 commits

Author SHA1 Message Date
Ameya Shenoy
306d164b2f bumped to version 11.0.3 2018-09-26 07:18:59 +00:00
rohitwaghchaure
de9778047d [Fix] Not able to delete the document which has workflow (#6119) 2018-09-24 12:34:21 +05:30
Ameya Shenoy
ea082ce8a3 bumped to version 11.0.2 2018-09-21 10:59:46 +00:00
Ameya Shenoy
fc805699b6 bumped to version 11.0.1 2018-09-20 10:23:18 +00:00
Ameya Shenoy
76761749ff
fix(hooks.py): changed permissions to 644
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2018-09-20 15:51:12 +05:30
Saurabh
3e7b387a7a [resolved] merge-conflicts 2018-09-12 14:52:46 +05:30
Aditya Hase
f3b959b1fe frappe: refactor async to realtime (#6015)
* frappe: refactor async to realtime

* frappe: refactor async to is_async
2018-08-28 15:31:20 +05:30
Ameya Shenoy
21bbbd2dbb
[feature] show popup for version update
- added a new weekly hook to check if new version update is available
- added function to desk.js to show popup in case a new version is
available
- added redis wrappers for set related commands, namely sadd, srem,
sismember, spop, srandmember, smembers
2018-08-15 20:34:48 +00:00
Saurabh
96a15617dc Update staging version to support symentic versioning 2018-07-19 13:37:31 +05:30
Saurabh
209c889cec Add beta version parameter for beta release (#5805)
* Add beta version parameter for beta release

* rename beta to staging

* Update hooks.py
2018-07-16 18:01:31 +05:30
Rushabh Mehta
814dee9a61 [website] fix for contact.js 2018-06-27 22:01:54 +05:30
Prateeksha Singh
1b48fe2597 [fix][webform] asset handling via hooks 2018-06-27 17:33:23 +05:30
Prateeksha Singh
b4e97cfc9c [docs] remove docs folder 💥, update docs app to frappe.io (#5682)
* [docs] build docs from app specified in hooks

* [docs] remove docs folder 💥
2018-06-14 09:10:26 +05:30
Charles-Henri Decultot
c2b49ce572 Slack integration (#5640)
* Slack notifications

* Codacy corrections

* Slack notifications

* Codacy corrections

* Rename Email Alert to Notification

* Migration Patch

* Refactor of notification.py

* Dev cleanup

* Test correction
2018-06-11 15:11:00 +05:30
Alchez
0dcf3ca61d [Improvements] Auto-publish pages with date ranges (#5430)
* Add feature for auto-(un)publishing Web Pages

* Move some publish logic to frontend

* Cleanup some logic

* Remove arbitrary limits and add check for start date
2018-05-30 11:34:05 +05:30
Suraj Shetty
c71c132ba2 Workflow actions (#5598)
* Init workflow actions

- WIP code
- Add hooks to create and update
workflow action on document status changes.
- Tweak listview to show host document on list view item click
- Add new doctype "Pending Workflow Action"
- Add allow_self_approval check in Workflow master

* Rename doctypes

- Rename "Workflow Action" to "Workflow Action Master"
- Rename "Pending Workflow Action" to "Workflow Action"
- Remove irrelevant files

* Clear old workflow action on docstatus change

- Add check for user permission before creating a workflow action record
- Make doctype changes to support the Workflow Action  System

* Show host document only if workflow action status is open

* Send workflow action mail notifications

* Add patch to rename `tabWorkflow Action` to `tab Workflow Master`

- Rename table to retain data in `tabWorkflow Action` as it
will be overwritten with new structure on migration

* Enqueue email

* Remove unused files

* Add hook for custom has_permission

* Optimize send_workflow_action_email method

* Add permission_query_condition hook

* Show notification based on status

* Override get_form_link in list view

* Refactor workflow action

- Add action link
- update workflow action hooks

* Avoid repeated creation of Worklow Actions

- Update hooks entry to avoid unwanted method call

* Fix error with frappe.db.count usage

* Fix ui/ux for Workflow Action

- Fix action url and improve response on action button click
- Fix workflow action template style

* Fix Codacy

* Add self approval check

* Fix codacy

* Fix test

* Fix python version confilct and a permission error

* Fix incorrect 'this' reference

* Update with requested changes

* Add next action email template option

* Fix string formatting

* Refactor workflow Action

- Make process_workflow_action smaller

* Fix bugs and errors due to refactor

* Fix workflow field caching

* Add a workflow action test

* Fix bugs with email template
2018-05-30 11:24:49 +05:30
Suraj Shetty
3109123249 Permission improvements (#5494)
* Overwrite "if owner" restriction*
- Overwrite "if owner" restriction if user has other valid roles
(with access rights) without if_owner enabled for it in doc perm
eg:
If a doctype has 2 docperm for Role A and Role B and the docperm with
Role A has  if owner enabled.

Suppose User 1 has Role A, then User 1 should see only docs
which was created by him.

Now if User 2 has Role A and Role B, User 2 should be able to see all the
records because Role B has unrestricted access on doctype.
------------------------------------------------------

Previously in case of User 2, the restriction(of if owner) from Role A
used to reflect and User 2 was only able to view only records made by
him.

This commit will overwrite the if_owner restriction in such case.
- Refactor get_role_permission method

* Add advanced control for user permission
- Add ability to skip user permission check for specific doctype

* Refactor "linked with" method
- Add option to skip linked with doctype which has
ignore_user_permission enabled against them.

* Clear "linked with doctype" cache on doctype changes

* [Minor] Fix formatting

* Fix error and bugs in linked_with method

* Format code

* Add fix to get allowed docs from user_permission

* Fix has_user_permission bug

* Add before migrate patch for user permission

* Fix typo
2018-05-04 13:13:29 +05:30
tundebabzy
95945661af Merge branch 'develop' into new-autorepeat 2018-04-17 10:45:00 +01:00
Charles-Henri Decultot
68720c2a4f [New Feature] Google Calendar Connector (#5266)
* Addition of a filter for last sync timestamp

* Google calendar connector wip

* Google calendar integration

* Add test for account creation

* Codacy corrections

* Remove unused import

* New section Google Services

* Add no_copy to migration custom field
2018-04-06 10:43:49 +05:30
Shreya
b25716e681 uncomment alert sound 2018-03-21 23:21:53 +05:30
tundebabzy
40d378e454 move Subscription to frappe as Auto Repeat 2018-03-12 14:13:14 +01:00
Ameya Shenoy
3666513113 Update hooks.py (#5099) 2018-02-28 17:35:04 +05:30
Nabin Hait
dfa494875c Fixed merge conflict 2018-02-22 14:38:36 +05:30
Nabin Hait
4d96472969
Updated develop version 2018-02-22 14:36:58 +05:30
Achilles Rasquinha
a56452744a Fixed Chat Sound issues and Room Layout 2018-01-18 19:12:41 +05:30
Achilles Rasquinha
98a37076ef Fix ERPNext #12234 (#4709) 2017-12-29 11:18:33 +05:30
Achilles Rasquinha
005cfe3dc8 🎉 NEW Frappe Chat (#4612)
* added doctypes, created frappe chat ui

* added component layout with state-like abilities, added apis

* updated user doctype, moved from state-like feature and component abstraction

* added room component

* fixed publish_realtime with after_commit = True

* created room component and searchbar

* minor fix

* functional message parsing

* update

* Added Chat Profile

* added chat message

* more changes into chat room

* fixed APIs, added client side scripting

* added chat message attachements, more doc updates

* Brand New UI with socket io room integration

* completed socketio integration. off to room subscription and publish

* realtime room update

* raw update

* initialized docs, added p2p connection for call tests

* updated docs

* added coverage, updated api for ease of use

* raw commit

* added test cases

* Chat Room updates and new room creation

* added chat group creation

* added collapsible plugin

* toggable room view

* updated

* [RAW]

* updated UI for chat

* Deleted Previous Chat Page

* moved from frappe.Chat.Widget to frappe.Chat

* modularized frappe-fab

* added more docstrings

* tried adding conversation tones

* Added conversation_tones and refurbished chat popper

* modified frappe.ui.Dialog, moved from AppBar to ActionBar, responsive for Mobile 💃

* moved RoomList item namespace

* Configurable Desktop update, moved profile updates to on_update

* added state change listeners

* removed AppBar to ActionBar customizable 💃

* added destroy method

* removed coverage, refactored group creation

* Successful Chat Rooms and Group creation

* sort rows based on last_message_timestamp or creation

* added frappe._.compare

* removed redundant less variables

* Chat Room back button with custom routing and destroy methods

* Added EmojiPicker

* fixed multiple dialog render

* setup quick access

* added chat chime, functional chat message list updates at room list

* deleted package-lock.json

* realtime date updates

* updated chat message list

* functional message render and updates

* added track seen

* added typing status

* updated typing status

* valid typing statuses and quick search

* Functional Quick Search

* reverted fix

* some more cleanup and promisifed

* fixed hints close on click

* updated fab boldness

* close popper on click panel

* close popper on click panel

* reverted octicon-lg, fixed popper heading click

* new frappe capture

* removed webcamjs

* added uploader and capture

* removed chat FAB, added as notification instead

* on message update
2017-12-28 18:58:43 +05:30
Shreya Shah
acdbb97ba5 Moved feed from Communication to Activity Log (#4435)
* Removed comment_type 'updated'

* New doctype activity log

* Moved feed.py to activity_log

* Updated feed gets stored in activity_log

* Activity page fetches feed from activity_log

* feed match condition change

* modified

* modified hooks.py

* modified sessions.py

* patch added

* naming in patch

* moved login, logout feed to activity_log

* changes in auth.py, hooks.py

* deleted doctype authentication_log and added test cases

* added utils.py in core

* moved some methods from communication.py to utils.py
2017-11-21 15:46:51 +05:30
Rishabh Nambiar
0e412de72e [major] AWS S3 Integration for Frappé (#4272)
* Added S3 Integration, need to add backup limit

* Fix validation in s3 doctype

* Added auto-deletion of old backups and backup_limit usage

* Fixes for codacy PR review

* Improved exception handling.

* Update s3_backup_settings.py
2017-10-17 12:45:25 +05:30
Prateeksha Singh
7e9cce2d3b C3 to Charts (#4228)
* make AxisGraph

* remove jquery and snap

* [major] refactor, svg animations, rename to charts

* remove c3, d3

* [Charts] renaming and namespacing

* [fix] codacy

* Replace in grid report with plot, fixes
2017-10-17 12:02:39 +05:30
Rushabh Mehta
0dff5607f2 [version] 9.x.x-develop 2017-09-30 11:41:43 +05:30
Manas Solanki
2f885191da added the test case 2017-09-18 02:04:51 +05:30
Manas Solanki
1bbcfc5f9f webview for the newsletter 2017-09-18 01:01:59 +05:30
Manas Solanki
b3994f1a79 portal viewe for the newsletter 2017-09-18 01:01:59 +05:30
Rushabh Mehta
2ab07f4275 [feature] autoname prompt, refactor control.js, fixes frappe/erpnext#8940 2017-08-24 18:35:07 +05:30
B H Boma
dcee43f646 Settings to send Qrcode as email to user 2017-07-27 17:59:43 +01:00
crossxcell99
aa45ffcac6 fix website user login bug refactor JS 2017-07-21 14:32:04 +01:00
B H Boma
cde8001369 Show twofactor auth in setup wizard 2017-07-18 17:30:11 +01:00
crossxcell99
9c144312eb show qr code for first otp login 2017-06-29 16:34:01 +01:00
Nabin Hait
aa2a8a9c3c fixed module for address 2017-06-15 14:25:44 +05:30
KanchanChauhan
f52e389d4f Salutation and Gender in Contact (#3079) 2017-06-13 15:25:53 +05:30
Saurabh
7e2972dee8 a[fix] move dropbox backup upload from short queue to long queue to avoid timeout exceptions 2017-06-12 16:14:12 +05:30
Faris Ansari
c03268c44f Change beta_version to 8.x.x-beta 2017-05-04 10:10:24 +05:30
Makarand Bauskar
d552ad86ed [minor] fixes for has_website_permission of address doctype (#3070) 2017-04-12 14:10:33 +05:30
mbauskar
685803900e [minor] updated the scheduler event to sync user settings 2017-03-30 17:05:47 +05:30
mbauskar
4ec430c454 [minor] permission query conditions for communication/email 2017-03-29 18:40:58 +05:30
Saurabh
4a31fbf0e2 [minor][fix] clean-up extra backups and calculate user space on hourly basis 2017-03-27 12:32:42 +05:30
Faris Ansari
0fa716c56d [kanban] private kanban board for Note, create new project for Task 2017-03-15 09:59:24 +05:30
Saurabh
7620bb3789 Deprecate Integration Broker (#2831)
* [fix] remove razorpay from integration service

* [fix] clean-up js side integration service dependancies

* [fix] remove integration service, .py cleanup, move integration request to integration

* [fix] move oauth to integrations and deprecate integration broker

* [fix] mark services enabled and update integrations listing

* [fix] V7.1 and V7.2 integration service related pathch fixes and move payment gateway dotype to core module

* [fix] create payment gateway records if not exists

* [fix] module page for integrations

* [minor][fix] minor checks

* [fix] remove integration broker module only if not allocated to any doctype
2017-03-14 11:24:26 +05:30
Rushabh Mehta
7a735739e1 [minor] show develop_version in branch 2017-03-10 09:38:19 +05:30