Commit graph

765 commits

Author SHA1 Message Date
Faris Ansari
a70d56fd04 Website related fixes (#5660)
* bench build --app app_name

* Use highlight.js as npm package

* Add fenced-code-blocks to markdown compiler

* Support for next-prev links
2018-06-07 11:14:25 +05:30
Rushabh Mehta
f9bcb11d35 [minor] website-fix 2018-06-06 11:07:54 +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
Prateeksha Singh
e3115bfbc7 [docs-portal] Search the Docs (#5558)
* [docs-portal] search documentation

* [doc-search] remove search-result template

* [portal-search][minor] add search result section title

* [portal-search] make search result section macro

* [portal-search] two-col layout for more sections
2018-05-22 10:23:13 +05:30
Rushabh Mehta
b4650f42a1 [minor] remove in_dialog old property 2018-05-16 12:51:01 +05:30
Erick Jimenez
affe5b8659 Fix "frappe.is_user_logged_in" js function (#5548)
* Fix is_user_logged_in js function

* Add missing semicolon
2018-05-16 11:12:31 +05:30
Rushabh Mehta
cca360e8ef [minor] dont render .min.js files as jinja templates 2018-05-10 22:28:42 +05:30
Rushabh Mehta
c4e1b9e0c1
[enhance] Add condition in transitions and move workflow to server-side (#5399)
* [workflow] move to server side

* [workflow] tests

* [workflow] tests

* [minor] remove print

* [fixes] tests and lint

* [tests] fix typo

* [fix] tests
2018-04-11 00:38:13 -08:00
Achilles Rasquinha
14e21262b0 Merge branch 'develop' into website-chat 2018-03-28 15:23:27 +05:30
Raghavendra Kamath
9c096a7496 Add image in metablock for blog (#5292) 2018-03-27 21:58:39 +05:30
Achilles Rasquinha
3a9d259248 Added to and from website chat settings 2018-03-26 16:10:46 +05:30
Achilles Rasquinha
c480a86ac0 Fixed Codacy 2018-03-26 09:23:01 +05:30
Achilles Rasquinha
474e219e97 Raw commit 2018-03-22 17:34:07 +05:30
Achilles Rasquinha
15eaffdea1 added doctypes 2018-03-22 14:45:46 +05:30
Rushabh Mehta
3e1342721e [fix] globals 2018-03-19 12:39:33 +05:30
Achilles Rasquinha
bc712066cc Render Frappe Chat to Website 2018-03-13 17:03:25 +05:30
Achilles Rasquinha
799ab249ab request.js-like frappe.call extension to website.js request 2018-03-13 13:56:50 +05:30
Achilles Rasquinha
cf3726ab1a FIX Http Redirect Headers 2018-03-08 19:00:08 +05:30
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