Mercurial > libervia-web
comparison libervia/pages/_browser/invitation.py @ 1378:e3e303a30a74
pages (tickets): renamed "tickets" to "lists":
"lists" is more generic, and tickets is actually a specific kind of list.
/!\ "tickets_trackers_json" option has been renamed to "lists_directory_json".
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 28 Jan 2021 18:51:44 +0100 |
parents | 2938d1b65bd5 |
children | 83be300d17e3 |
comparison
equal
deleted
inserted
replaced
1377:46ce79eac754 | 1378:e3e303a30a74 |
---|---|
1 from browser import document, window, timer | 1 from browser import document, window, timer |
2 from bridge import Bridge | 2 from bridge import Bridge |
3 from template import Template | 3 from template import Template |
4 from dialog import notification | 4 from dialog import notification |
5 from cache import cache | 5 from cache import cache |
6 # we use JS RegExp because Python're is really long to import in Brython | 6 # we use JS RegExp because Python's re is really long to import in Brython |
7 from javascript import RegExp | 7 from javascript import RegExp |
8 | 8 |
9 bridge = Bridge() | 9 bridge = Bridge() |
10 # FIXME: this is a naive JID regex, a more accurate should be used instead | 10 # FIXME: this is a naive JID regex, a more accurate should be used instead |
11 jid_re = RegExp.new(r"^\w+@\w+\.\w+") | 11 jid_re = RegExp.new(r"^\w+@\w+\.\w+") |