Commit Graph

52 Commits

Author SHA1 Message Date
Elijah Ahianyo
4b7cc6ddf5
File upload to use single syntax () 2023-04-13 09:27:02 -07:00
Nikhil Rao
45f533db27
Fix event handler lambdas () 2023-04-10 21:29:23 -07:00
Nikhil Rao
ae49759f1e
Handle non-async middleware () 2023-04-08 22:47:42 -07:00
Nikhil Rao
e96f1c4d39
Fix event handler returns () 2023-04-08 10:49:00 -07:00
Elijah Ahianyo
e8387c8e26
Fix Event chaining in the on_load event handler return not working ()
* Fix Event chaining in the on_load event handler return not working

* added async tests

* addressed comments
2023-04-06 22:26:43 -07:00
Elijah Ahianyo
50d480da1f
Allow upload event handler to have arbitrary arg name () 2023-04-02 15:40:05 -07:00
Elijah Ahianyo
a2f86f9fbb
Feature/Multi File upload ()
* This PR adds a feature to upload multiple files

* modified function to support python 3.8

* change code to use types instead of  arg name
2023-03-22 23:54:08 -07:00
Elijah Ahianyo
592be487c9
Call event handlers from other event handlers () 2023-03-16 16:57:28 -07:00
iron3oxide
7067baf176
Refactor utils module () 2023-03-16 14:59:27 -07:00
Nikhil Rao
2ee8c73d5a
Add error message for invalid var ops () 2023-03-11 21:11:59 -08:00
wassaf shahzad
416a813be8
Added script Component () 2023-03-11 11:40:14 -08:00
LouisFaure
ea5ef8ecb9
Added parameters to Socket.IO web server () 2023-03-10 12:50:28 -08:00
Nikhil Rao
f7138bd53f
Add upload component () 2023-03-03 19:38:58 -08:00
Lucas
387bacff73
Add multiple load events for a page () 2023-02-25 10:13:02 -08:00
PeterYusuke
f76acb2d9c
[Fix issue 563] Add meta arg to page_add method ()
* Add meta arg to page_add method

* Remove TypeError of "|". Set default param value.
2023-02-22 21:33:04 -08:00
Nikhil Rao
f37540286c
Fix cors origin () 2023-02-12 13:48:05 -08:00
Nikhil Rao
fb9b8a8c83
Add cors to backend server () 2023-02-12 13:38:30 -08:00
Nikhil Rao
8c8b2396fc
Add password component () 2023-02-12 09:57:42 -08:00
Thomas Brandého
c203ad57a4
Add pc.route decorator () 2023-02-12 09:37:47 -08:00
Jeremy
d3c3174ba4
Update models on pc run --no-frontend () 2023-02-11 17:58:17 -08:00
Thomas Brandého
1479411c4f
Fix args format in dynamic route () 2023-02-11 17:06:40 -08:00
advo-kat
8d9c75824c
Socket fixes and config options() 2023-02-09 23:59:20 -08:00
叶子
1529a23c1b
Switch linter to ruff () 2023-02-09 11:33:18 -08:00
Thomas Brandého
4ef2ba779c
Add router_data in substates () 2023-02-07 21:53:04 -08:00
advo-kat
50a7c02142
Use Socket.IO for message transport () 2023-02-06 10:37:52 -08:00
Wazarr
6c2f4deb70
Make db_url optional () 2023-01-30 20:38:48 -08:00
Nikhil Rao
0e48ceda21
Update README for pip install pynecone () 2023-01-30 18:28:58 -08:00
Thomas Brandého
52aaf365c9
Add onload event handler () 2023-01-24 17:41:42 -08:00
Nikhil Rao
6f3d763f82
Rename path to route everywhere () 2023-01-23 21:53:42 -08:00
Thomas Brandého
554e6d919b
Add event token to router_data () 2023-01-22 17:40:19 -08:00
Atharva Shah
2ccbfff223
General code cleanup () 2023-01-22 10:58:07 -08:00
andy-verstraeten
b93c7a8cbf
Empty pages directory on recompile () 2023-01-18 12:11:31 -08:00
Thomas Brandého
8858754d40
Add 404 custom page handling () 2023-01-15 12:22:48 -08:00
Thomas Brandého
2e41303b25
Add optional catch all handling () 2023-01-14 18:46:52 -08:00
Thomas Brandého
9d59936737
Handle dynamic routes () 2023-01-12 14:38:29 -08:00
Thomas Brandého
1124067c12
Add router data to state () 2023-01-08 13:48:09 -08:00
Nikhil Rao
d93e2cec00
Add decorator for custom components () 2023-01-02 16:08:00 -08:00
Nikhil Rao
2be20745f1
Improve cli help messages () 2022-12-27 00:01:20 -08:00
Nikhil Rao
a93b1425c7
Catch websocket disconnect () 2022-12-26 23:14:35 -08:00
Alek Petuskey
3e8f6ffbb3
Socket CORS () 2022-12-23 11:19:30 -08:00
Nikhil Rao
0b496fc0e0
Use websockets for events () 2022-12-20 15:22:04 -08:00
Nikhil Rao
e127149bc1
Factor out code for dynamic routes () 2022-12-15 11:37:39 -08:00
Nikhil Rao
933c3678d4
Fix model json conversion ()
* Add all fields when converting model to json
* Fix switched image/description in page meta
2022-12-15 01:43:24 -08:00
Nikhil Rao
d39bcc7d38
Enable pc prod without redis ()
* Make app callable

* Enable pc prod without redis

* Add missing code
2022-12-13 10:05:37 -08:00
Alek Petuskey
91bb3f0b26
Added Meta for Pages ()
* Added meta changes.


Co-authored-by: Alek Petuskey <alekpetuskey@Aleks-MacBook-Pro.local>
2022-12-05 00:40:35 -08:00
Nikhil Rao
e636f0dd3e
Add function to insert app middleware () 2022-12-01 10:55:58 -08:00
Nikhil Rao
f710fc1a82
Support Python 3.11 () 2022-11-29 17:01:14 -08:00
Nikhil Rao
1f817c637f
Fix redis setup () 2022-11-21 15:32:51 -08:00
Nikhil Rao
159e7949f1
Create config class () 2022-11-20 16:12:46 -08:00
Nikhil Rao
29e37350e5
Add basic unit tests ()
* Unit tests for components, state, and utils
2022-11-20 14:34:25 -08:00