Commit graph

747 commits

Author SHA1 Message Date
Achilles Rasquinha
0e450616f6
Merge pull request #5134 from achillesrasquinha/py3
cmp alternative
2018-03-08 11:51:46 +05:30
Achilles Rasquinha
c0f674f5e5 cmp alternative 2018-03-08 11:49:31 +05:30
Achilles Rasquinha
de88d2f568
Merge pull request #5131 from achillesrasquinha/py3
[FIX] gunicorn fails to read byte response headers, convert to strings
2018-03-08 01:21:25 +05:30
frappe
0067ad09a9 [FIX] gunicorn fails to read byte response headers, convert to strings 2018-03-07 20:33:39 +01:00
Storm
0074fda759 mimetype expects to be set to a string not bytes 2018-03-06 11:51:57 -07:00
Faris Ansari
e408de3abd
Import moment in web_form (#5106) 2018-03-01 14:56:19 +05:30
Achilles Rasquinha
abb7f14bbd self.assertEqual 2018-02-28 21:19:01 +05:30
Achilles Rasquinha
798228fce5 [min] import functools 2018-02-28 12:57:46 +05:30
Achilles Rasquinha
cbc8831add sort using cmp_to_key 2018-02-28 12:38:19 +05:30
Achilles Rasquinha
bf153f456f [FIX] encode unicode bytes at response header 2018-02-23 17:11:41 +05:30
Mainul Islam
92623f8684 Fined Issue #5043 (#5044)
Now Date type field can set ad web page title
2018-02-22 11:01:27 +05:30
Rushabh Mehta
ac93a5d4bd python 3 fixes 2018-02-21 17:55:51 +05:30
Faris Ansari
92e8856588
New Build System: Rollup (#5010)
* JS build working

* Css build working!

* Uglify JS in production

* fix codacy

* Add frappe.commands.popen

* FIx ESLint errors

* Add socket.io to package.json

* ignore subprocess warnings

* Add babel-runtime

* sleep 20 after bench start

* remove set -e

* [FIX] non-shell subprocess call

* [FIX] use shell = False

* split commands
2018-02-20 13:47:48 +05:30
Achilles Rasquinha
0cc8feb17c fixed file encoding at render js 2018-02-13 13:23:24 +05:30
Raghavendra Kamath
6f99a24a2c correct the meta block portion (#4978) 2018-02-07 14:59:07 +05:30
Raghavendra Kamath
c561bf97d7 Add social media meta tags in blog post page (#4948)
* make changes in the blog templates

* Add the inline styles to website.less
I also tweaked the design a bit, added h1 for header and increased the spacing a bit.

* Remove inline style and add css to less file

also added some spacing to make the blogpost look good by default.

* make the headings bold

* Add meta tags for social media in blog post page
2018-01-31 18:35:48 +05:30
Nabin Hait
3a34055700 Fixed merge conflict 2018-01-31 17:29:24 +05:30
Raghavendra Kamath
7a679a99e0 Cleanup the default blog list and blog post styles (#4914)
* make changes in the blog templates

* Add the inline styles to website.less
I also tweaked the design a bit, added h1 for header and increased the spacing a bit.

* Remove inline style and add css to less file

also added some spacing to make the blogpost look good by default.

* make the headings bold
2018-01-31 11:02:35 +05:30
Rushabh Mehta
89b28c317e
[security] exclude python files from being seen directly (#4942) 2018-01-31 10:51:51 +05:30
Prateeksha Singh
3995fd8582 [fix] slideshow private images validation 2018-01-15 21:02:47 +05:30
Prateeksha Singh
b43e888e0b
Merge pull request #4835 from pratu16x7/hotfix
[fix] slideshow private images validation
2018-01-15 20:52:39 +05:30
Prateeksha Singh
b5480ff557 [fix] slideshow private images validation 2018-01-15 20:49:05 +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
Nabin Hait
2e46b1d70c Merge branch 'master' into develop 2017-12-15 12:52:55 +05:30
Achilles Rasquinha
61b2b25981 [FIX] Fix XSS (#4560)
* [FIX] login xss

* [FIX] Client Side Sanitization

* moved from frappe to frappe.utils

* added strategies

* removed console.log

* fixed codacy

* XSS sanitization at login

* moved to common js - xss_sanitize
2017-12-13 16:25:06 +05:30
Saurabh
20fff6e874 Merge branch 'master' into develop 2017-11-22 18:02:53 +05:30
Revant Nandgaonkar
387a3ad9e3 [Fix] Breadcrumbs for Help Article (#4515) 2017-11-21 16:01:06 +05:30
ci2014
282d3a0b6f Fix typo in render.py (#4512) 2017-11-20 11:37:46 +05:30
paurosello
b8723e72da Allow label and description translation in web forms (#4481) 2017-11-14 10:48:03 +05:30
Britlog
529ae92d1e Encoding error on web form rendering (#4418) 2017-11-03 09:41:43 +05:30
mbauskar
ee7508347d resolved merge conflicts 2017-10-18 16:22:06 +05:30
Rushabh Mehta
69e08f8e97 [minor] web form (#4302) 2017-10-17 12:24:06 +05:30
Makarand Bauskar
9ff3dfcd4c [hotfix] robots.txt file is considered as static instead of getting context from robots.py (#4325) 2017-10-17 11:56:29 +05:30
Makarand Bauskar
91a6c5b246 [minor] create __init__ file, passed create_init=True explicitly (#4265) 2017-10-09 13:17:03 +05:30
Makarand Bauskar
36a0782564 [minor] moved the Website Name field to top (#4258) 2017-10-06 11:48:13 +05:30
Nabin Hait
e9126dfce0 Merge branch 'master' into develop 2017-09-27 18:25:14 +05:30
Rushabh Mehta
3b6ed442af [fix] frappe/erpnext#10939 2017-09-27 18:20:20 +05:30
Aditya Hase
1a0eaa4aaa Convert rendered html to unicode before substring matching 2017-09-27 01:08:07 +05:30
Aditya Hase
52c7b04932 Use next(iter) instead of iter.next() 2017-09-27 01:08:07 +05:30
Nabin Hait
ce01845d11 Merge branch 'master' into staging 2017-09-25 16:30:13 +05:30
Nabin Hait
1d93c66285 Fixed merge conflict 2017-09-25 16:30:08 +05:30
Rushabh Mehta
adc7ad69cd [fix] desktop notifications 2017-09-25 11:06:54 +05:30
Rushabh Mehta
cef8c6be38 [minor] web_page, allow any tags 2017-09-24 20:59:11 +05:30
Rushabh Mehta
1ee6ff1009 [fix] for blog 2017-09-24 20:54:28 +05:30
Rushabh Mehta
a52d927e28 [fix] for blog 2017-09-24 20:51:29 +05:30
Manas Solanki
18d17e2fd5 datepicker in the web form 2017-09-24 19:11:24 +05:30
Rushabh Mehta
52936f724e [fix] cleanup style for blog listings 2017-09-24 12:05:23 +05:30
Rushabh Mehta
57dfa412af [fix] web form datepicker, trigger change event 2017-09-23 16:10:37 +05:30
Rushabh Mehta
e4bca53088 Merge pull request #4130 from mbauskar/4005
[fixes] render extracted jinja title for custom doctypes
2017-09-18 13:25:06 +05:30
mbauskar
9d2985e38c [minor] images attached to website slideshow should be public 2017-09-18 11:57:44 +05:30