Releases: mubarakalmehairbi/ToUI
Releases · mubarakalmehairbi/ToUI
v3.5.0-alpha.1
Changes include:
- Allow opening URL with different origin in
app.open_new_page()
. - Add checkout using stripe and paypal
- Access firestore database using
app.firestore
attribute - Add page-specific variables
app.page_vars
which stores data that is reset after the user leaves the page. - Add
app.get_current_url()
which returns the current full URL. - Add
app.get_query_params
which returns a dictionary of the current URL query parameters (or a different URL). - Add more parameters in `app.redirect_response()
- Add
app.get_users_ids_from_data
. - Add
Element.get_class_list
. - Add
Element.add_to_class_list
- Add
Element.remove_from_class_list
. - Add example about creating "widgets"
- Some fixes related to signing up and signing in
- Fix
Element.from_str
- Fix
Element.set_content
andElement.add_content
Full Changelog: v3.4.0...v3.5.0-alpha.1
v3.4.0
- Fix Google sign in
- Add
toui init --full
command, which creates a full web app template. - Navigation bar and footer now are added to the page before the function in
on_url_request
is called. - Fix an issue when the user signs up using their email and password then tries to sign in using google.
Full Changelog: v3.2.0...v3.4.0
v3.2.0
- Add
default
parameter in some methods. - Update docs.
Full Changelog: v3.1.0...v3.2.0
v3.1.0
- Add
Website.redirect_response
- Add
Page.set_footer
- Fix
Element.get_attr
to return string instead of list when getting class - Add html_file parameter in
set_navigation_bar
- Add example for connecting to SQL for user data
- Returns
False
whenset_current_user_data
tries to set a key for a column that was not added before in a SQL database.
Full Changelog: v3.0.4...v3.1.0
v3.0.3
- Add Firebase support including user authentication,
user database, and file storage - Add google sign in
- Rename
add_user_database
toadd_user_database_using_sql
- Replace
get_current_user
with other methods that gets the users data:get_current_user_data
,
set_current_user_data
, andget_current_user_id
. - Add
email_exists
function. - Add
is_signed_in
function. - Add
RedirectingPage
for pages that are created only to redirect to another page. - Different method for storing temporary user variables
- A method that adds navigation bar to page
- Fixes
Full Changelog: v2.4.1...v3.0.3
v2.4.3-beta
Fix WebSockets disconnection
Full Changelog: v2.4.2-beta...v2.4.3-beta
v2.4.2-beta
What's new:
- Fixing an error that might appear when clicking a button multiple times quickly.
Why a pre-release
?
- The fix might give rise to other bugs. There is a possibility that the methods
Element.get_files()
andFile.save
might not work properly. Please report any bugs in issues.
Full Changelog: v2.4.1...v2.4.2-beta
v2.4.1
- Fix
- Use
session.sid
to store user variables
Full Changelog: v2.4.0...v2.4.1
v2.4.0
Warning
This version contains a security vulnerability. You can read about it here. Please use it with caution or upgrade to v2.4.1.
- Add
Element.get_parent
method - Fix an error that sometimes appear when using
Page.on_url_request
- Can get signed in user even when changing URL
- Add
Element.get_unique_selector
method - Check if
SECRET_KEY
environment variable is already assigned before assigning random key
Full Changelog: v2.3.0...v2.4.0
v2.3.0
Warning
This version contains a security vulnerability. You can read about it here. Please use it with caution or upgrade to v2.4.1.
- Better error handling
- You can now get the calling element itself as an argument in a Python function
- Sync
<textarea>
value property with its attribute - Add
Page.get_element_from_selector
method
Full Changelog: v2.2.0...v2.3.0