Commit graph

1473 commits

Author SHA1 Message Date
gavin
b5ab59ad6e feat: Access log (#8014)
* feat: Access log doctype for logging information about private file
downloads, backups downloads, printing and exporting data

* updated: access log

* updated: formattted access_log.js

* access logging: print/pdf/pvt files/export/backup

client side implementation: treeview, query_report
server side implementation on the rest

* fixes: codacy errors

* Update response.py

* Update response.py

* Update response.py

* codacy: please

* travis fixes

* changes:filters=>_filters(lol this works @ times?)

added: tests for access_log, make_access_log formatting, form ui added
buttons

* this hopefully fixes em tests

* changes: fixed indents, session.user, formatting

* fixes: tests, refactor, permissions

emerging from exporter.py => reference doctype in export_data (check
format!)

* fixes: convert dict to json

* changes: added more tests, wrote lesser code?

switched js to display depends on

* fixes: codacy and hopefully travis

* fix: tests? and polishing up

* added column field, removed tracked views

changed access log in exporter.py > export_data
added access log in reportview.py > export_query

* style: Fix indentation

* style: Fix indentation

* fix: Remove problematic string replace

It may replace quotes in the actual filter values which can result in invalid JSON

* fix: Remove filter string conversion

* fix: Error due to quote escapes

TODO: Check for a better way
2019-08-06 10:24:55 +05:30
Faris Ansari
636d9442e2 fix: Pick sitemap host from request (#8072) 2019-08-02 12:41:53 +05:30
Aditya Hase
2849ef9105 fix(doctor): Show status of scheduler in bench doctor 2019-07-31 20:12:22 +05:30
mergify[bot]
250239d733
Merge pull request #8038 from gavindsouza/code-fixes
refactor: moved from regex + ast eval to just using import
2019-07-31 10:33:21 +00:00
Aditya Hase
1dca0fb330 fix(security): Make Jinja Tighter 2019-07-30 12:53:53 +05:30
Gavin D'souza
44cab5d326 refactor: updated boilerplate
moved from regex + ast eval to just using import
2019-07-29 16:24:24 +05:30
Faris Ansari
fed179b4ea fix: Check private file permissions for all docs
A file may be attached to multiple documents. It's permission is decided
based on the attached document's permissions. So, the permission
should be checked for each document and should be allowed if atleast
one document is accessible.
2019-07-29 15:43:06 +05:30
Faris Ansari
dfa16a77f4
Merge pull request #7662 from deepeshgarg007/remove_user_limit
BREAKING CHANGE: Remove limits from frappe
2019-07-29 12:09:04 +05:30
mergify[bot]
b37d3ae2db
Merge pull request #7987 from scmmishra/oauth-fix
fix: oauth redirect issue
2019-07-29 06:23:14 +00:00
deepeshgarg007
87e3531281 Merge branch develop into remove_user_limit 2019-07-28 19:55:28 +05:30
Aditya Hase
bc7b0319ea Revert "fix(security): Make jinja rendering tighter"
This reverts commit d70d2c5a29.
2019-07-26 20:47:35 +05:30
mergify[bot]
d052c641da
Merge pull request #7940 from lapphan/develop
fix: Check wrong OpenID's spec email claims
2019-07-25 13:28:53 +00:00
Shivam Mishra
1d5151ae89 chore: added #desktop route to redirect 2019-07-25 16:31:38 +05:30
Shivam Mishra
d8a24871f8 fix: redirect URL for oauth 2019-07-25 16:24:41 +05:30
Aditya Hase
d70d2c5a29 fix(security): Make jinja rendering tighter 2019-07-24 16:36:07 +05:30
lapphan
03c2cb12b9
Update oauth.py 2019-07-19 15:09:32 +07:00
Faris Ansari
1389300115 fix: bench run-ui-tests command (#7844)
* fix: bench run-ui-tests command

BREAKING CHANGE
This replaces the old run-ui-tests command which used selenium to run
UI tests with Cypress.

Usage:

bench --site [sitename] run-ui-tests [app]
bench --site [sitename] run-ui-tests [app] --headless

* fix: Include adminPassword from site_config

* fix: string formatting
2019-07-05 15:30:59 +05:30
NahuelOperto
30ef12e9ca fix: fixtures order by 2019-07-04 08:23:50 -03:00
mergify[bot]
b346b75b46
Merge pull request #7817 from Anurag810/translating_errors
refactor: added missing translation functions
2019-07-03 10:08:02 +00:00
Anurag Mishra
570fd44248 fix: Translating Errors and Messages 2019-07-03 11:52:47 +05:30
deepeshgarg007
f5a983a70d fix: Remove limits and usage info from frappe 2019-06-30 16:51:05 +05:30
Aditya Hase
6d4ec8e4d6 fix: Encode path before passing to urllib.quote (#7758) 2019-06-28 14:09:24 +05:30
Shivam Mishra
80759e21a0 fix (ux): show year with month in goal chart 2019-06-27 09:47:25 +05:30
Aditya Hase
f626541776 fix(search): Escape DocType name (#7765) 2019-06-25 12:20:03 +05:30
Aditya Hase
8b64879d5a fix: Rounding behavior in Python 3 (#7730) 2019-06-20 11:30:02 +05:30
Nabin Hait
b375ee9eef fix: merge conflict 2019-06-18 18:45:21 +05:30
jijan1985
e31670c308 fix: quoting special characters and appropriately encoding non-ASCII filename (#7472) 2019-06-14 11:44:02 +05:30
jijan1985
7dfaaee1fe fix: quoting special characters and appropriately encoding non-ASCII filename (#7677) 2019-06-14 11:43:08 +05:30
Suraj Shetty
2b85f4996c feat: Add get_first_day_of_week utillity method 2019-06-11 21:25:32 +05:30
Suraj Shetty
3da10d9948
Merge pull request #7652 from frappe/ui-ux-fixes
fix: Modal UI
2019-06-07 14:07:10 +05:30
Suraj Shetty
d9c682f34d feat: Add get_weekday utility function 2019-06-07 12:33:48 +05:30
Shivam Mishra
8bc753b881 chore: disable pdf encryption for multipdf 2019-06-06 16:26:44 +05:30
Nabin Hait
df438c1697
Revert "fix: Set default only if the dependent field is set (#7130)" (#7644)
This reverts commit 73c1f531e8.
2019-06-05 20:30:13 +05:30
Faris Ansari
7f24a3f71d fix: Show user fullname in mentions (#7592)
* fix: Show user fullname in mentions

* fix: Remove unused import

* fix: Update tests
2019-05-30 16:37:40 +05:30
Rushabh Mehta
1c893e44c0 fix: frappe.conf.db_type -> frappe.db.db_type 2019-05-24 11:44:28 +05:30
Rushabh Mehta
7135c0d9e8 fix(various): after manual testing 2019-05-24 11:22:09 +05:30
Rushabh Mehta
81fa64d4bc refactor(form.js): remove very old API 2019-05-24 09:08:56 +05:30
Rushabh Mehta
7cb648eb5b
Merge pull request #7453 from rmehta/remove-autodoc
refactor: remove autodocs, no longer used
2019-05-23 15:09:23 +05:30
Nabin Hait
1a787984f4
fix: get month diff between 2 dates (#7474) (#7500) 2019-05-16 10:16:06 +05:30
Nabin Hait
b2f897746a fix: get month diff between 2 dates (#7474) 2019-05-14 15:04:48 +05:30
Faris Ansari
5e2c2d8337
fix: Index rendered page content (#7405)
* fix: Index rendered page content

- Order results based on words matched in title

* fix: Reset session user after indexing page

* chore: comments
2019-05-12 19:21:07 +05:30
Rushabh Mehta
03b045a5b5 refactor: remove autodocs, no longer used 2019-05-11 10:12:11 +05:30
Sahil Khan
0eb9fc5eec fix(sync_site): syntax error 2019-05-09 14:52:37 +05:30
Sahil Khan
42fc641fd9 feat(sync_site): sync site via central agent 2019-05-09 14:22:47 +05:30
Anurag Mishra
a9d85c3222 fix: add seconds parameter seconds
* fix: add seconds parameter seconds

* fix: added paramater for minutes
2019-05-08 17:39:54 +05:30
Anurag Mishra
a42e18fcf1 fix: add parameter minutes 2019-05-08 17:30:24 +05:30
Suraj Shetty
d67bcd2212 fix: Define filedata before it is used 2019-05-05 12:23:46 +05:30
Shivam Mishra
c5a11f9fd0
Merge pull request #7358 from scmmishra/encrypt-pdf
feat: Added encryption feature for pdfs
2019-05-03 11:26:01 +05:30
Rushabh Mehta
5ebf688984 fix(recent): complete uncommitted changes 2019-05-03 08:49:51 +05:30
Aditya Hase
5d5e68dbed fix: Do not show locals to user (#7397) 2019-05-02 19:35:17 +05:30