Giter Club home page Giter Club logo

famcy's People

Contributors

archons1999 avatar leo880418 avatar lingachen avatar w20010703 avatar weitung avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

chiyangian

famcy's Issues

Famcy 0.3.66 version Event Source not working for update -> 0.3.62 version works

No error from frontend and backend
Web result:
{"indicator": true, "message": "error_event trigger action"}
Backend result:
famcy_docker_carpark-nginx-1 | 10.0.0.1 - - [13/Aug/2022:01:36:51 +0000] "GET /overview/led HTTP/1.1" 200 58 "-" "python-requests/2.27.1" "-"
famcy | overview_led___ Save to session current_page
famcy | INFO:werkzeug:172.19.0.3 - - [13/Aug/2022 01:36:51] "GET /overview/led HTTP/1.1" 200 -

Able to submit multiple target at event source function

def error_event_action(self):
self.event_trigger_task1.associate(self.error_event_, info_dict={}, target=self.card_2)
Famcy.sse.publish({"indicator": True, "message": self.event_trigger_task1.tojson()}, type='publish')

If there is something that I would like to update both in card_2 and card_4, very inconvenient.

Famcy Login session include timeout

  1. If website idle (no user control for more than 1 hrs), automatically logout
  2. One login session should only remain for 24 hrs

===============
Either one will be ok, but prefer the first one more.

How to trigger login manager to load new user information after new registration?

The problem being the custom login manager won't load the new list of user data after registering new users. Also, it seems not reasonable to keep all the user data in the class objects, need to think about this portion in the future if large quantities of user data is generated. We can keep this for now since we are focusing on management console.

Postload for event source

Situation

self.card_2.layout.content[0][0].layout.content[0][0].update({"data": Famcy.FManager['error_log']})
Before Update the table 4 row of data
After Update the table 6 row of data
I have a function which will change the color of the table. I should loop through 6 row of data. However, the data not yet update, so there will be only 4 rows. This will cause [i] list index out of range.
Add postload for evernt source might help this question.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.