Skip to content

Releases: mubarakalmehairbi/ToUI

v3.5.0-alpha.1

23 Aug 13:14
Compare
Choose a tag to compare
v3.5.0-alpha.1 Pre-release
Pre-release

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 and Element.add_content

Full Changelog: v3.4.0...v3.5.0-alpha.1

v3.4.0

07 Aug 19:30
Compare
Choose a tag to compare
  • 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

02 Aug 10:49
Compare
Choose a tag to compare
  • Add default parameter in some methods.
  • Update docs.

Full Changelog: v3.1.0...v3.2.0

v3.1.0

31 Jul 18:12
Compare
Choose a tag to compare
  • 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 when set_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

29 Jul 20:27
Compare
Choose a tag to compare
  • Add Firebase support including user authentication,
    user database, and file storage
  • Add google sign in
  • Rename add_user_database to add_user_database_using_sql
  • Replace get_current_user with other methods that gets the users data: get_current_user_data,
    set_current_user_data, and get_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

27 May 06:03
Compare
Choose a tag to compare
v2.4.3-beta Pre-release
Pre-release

Fix WebSockets disconnection

Full Changelog: v2.4.2-beta...v2.4.3-beta

v2.4.2-beta

26 May 04:05
Compare
Choose a tag to compare
v2.4.2-beta Pre-release
Pre-release

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() and File.save might not work properly. Please report any bugs in issues.

Full Changelog: v2.4.1...v2.4.2-beta

v2.4.1

23 May 18:00
Compare
Choose a tag to compare
  • Fix
  • Use session.sid to store user variables

Full Changelog: v2.4.0...v2.4.1

v2.4.0

22 May 17:40
Compare
Choose a tag to compare

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

21 May 08:46
Compare
Choose a tag to compare

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