Jam.py version 7: news 📣📣📣

220 views
Skip to first unread message

Danijel Kaurin

unread,
Mar 19, 2024, 3:41:03 AM3/19/24
to Jam.py Users Mailing List
Hi all.

We would like to inform you that the finalization work of the V7 alpha phase is in full swing.

Your help will soon be needed for testing, translation updates and documentation revisions.

Here are some V7 functionalities suggested from the community:

* on_request server function: this function handles all app requests. With on_request, we solved custom login and registration forms where custom errors can be created (like "user, doesn't exist, wrong password, etc). Here is a demo project for custom long and registration. Here is a project.

custom_login_error.PNG

* OR condition is handled in set_where method which make filtering more flexible:
Examples

server-side:
cust.set_where({'firstname__contains': 'ni', 'orop': {'city': 'Paris', 'country': 'Germany'}})
cust.set_where(firstname__contains='ni', orop={'city': 'Paris', 'country': 'Germany'})

client-side:
task.customers.set_where({firstname__contains: 'ni', orop: {city: 'Paris', country: 'Germany'}})

generated where clause:
WHERE UPPER("DEMO_CUSTOMERS"."FIRSTNAME") LIKE \'%NI%\' AND ("DEMO_CUSTOMERS"."CITY" = ? OR "DEMO_CUSTOMERS"."COUNTRY" = ?) AND "DEMO_CUSTOMERS"."DELETED" = 0'

In set_where instead orop can be used any other string

* fields with image type now can be shown in reports:
  • add the following line in the on_generate event handler loop.
        photo = {'image': c.photo.file_path}
  • in ods template, add variable %(photo)s and  anchor it to the cell
* calculated fields: now, we can add calculated fields to an item based on details. See video in attachment

* full mobile responsive design where developers can set form parameters for desktop, tablet and mobile device to control form behavior on these devices

and many more functionalities. You can see the Demo project in V7 design here.

Regards

Danijel Kaurin
calc_field.mp4

Dean D. Babic

unread,
Mar 19, 2024, 4:29:06 AM3/19/24
to Jam.py Users Mailing List
Great stuff!

Manos Pappas

unread,
Mar 19, 2024, 5:34:34 AM3/19/24
to Jam.py Users Mailing List
These are excellent news.
Please notify us when you need to update the translation files.

Στις Τρίτη 19 Μαρτίου 2024 στις 10:29:06 π.μ. UTC+2, ο χρήστης Dean D. Babic έγραψε:
Great stuff!

Dean D. Babic

unread,
Mar 19, 2024, 7:35:41 AM3/19/24
to Jam.py Users Mailing List
I think we need a Start of the week for calendar on Language/Locale.
Maybe better to set 1 for all langs but not English.

Dean D. Babic

unread,
Mar 19, 2024, 11:16:03 PM3/19/24
to Jam.py Users Mailing List
The table Lookup issue found in 0.33:
site-packages/jam/dataset.py", line 100, in data
    result = self.row[self.bind_index]
IndexError: list index out of range

yush...@gmail.com

unread,
Mar 20, 2024, 3:54:10 PM3/20/24
to Jam.py Users Mailing List

Hi, 

There are days keywords in language translations

image.png
and start of the week too

image.png
среда, 20 марта 2024 г. в 06:16:03 UTC+3, Dean D. Babic:

yush...@gmail.com

unread,
Mar 20, 2024, 3:56:00 PM3/20/24
to Jam.py Users Mailing List
Images are 
image.png
image.png
среда, 20 марта 2024 г. в 22:54:10 UTC+3, yush...@gmail.com:

Andrew Yushev

unread,
Mar 20, 2024, 3:59:40 PM3/20/24
to Jam.py Users Mailing List
Problem with images

tr.png
tr1.png

ср, 20 мар. 2024 г. в 22:56, yush...@gmail.com <yush...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "Jam.py Users Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jam-py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jam-py/6df4696c-909f-4154-971e-9d14283b941an%40googlegroups.com.

Ari Sobel

unread,
Oct 13, 2024, 1:16:52 PM10/13/24
to Jam.py Users Mailing List
Hi to all, where can I install and teste version 7?
Reply all
Reply to author
Forward
0 new messages