Commit graph

3182 commits

Author SHA1 Message Date
Lance Edgar ce629c91bb Add CSS styles for 'codehilite' a la Pygments
this is in anticipation for displaying syntax-highlighted code snippets from
markdown source.  this CSS file was generated according to instructions at
https://python-markdown.github.io/extensions/code_hilite/
2021-01-17 11:15:24 -06:00
Lance Edgar a3cbb24892 Add variant transaction logic per zope.sqlalchemy 1.1 changes
without this we can't use zope.sqlalchemy 1.1 due to error
2021-01-16 14:13:34 -06:00
Lance Edgar db7d021133 Allow newer zope.sqlalchemy package
not sure of any real benefit, but could not find any reason to cap at such an
old version, so let's relax it
2021-01-14 12:47:37 -06:00
Lance Edgar 5e9264bbef Don't create new person for new user, if one was selected 2021-01-14 12:10:35 -06:00
Lance Edgar 758d5e6f4c Update changelog 2021-01-10 21:24:59 -06:00
Lance Edgar 4d8e29c892 Add basic support for "download" and "rawbytes" API views 2021-01-06 13:12:27 -06:00
Lance Edgar fd1342c605 Try to show existing filename, for upload widget 2021-01-05 18:53:00 -06:00
Lance Edgar e548b72323 Fix some deform template comments 2021-01-05 18:19:27 -06:00
Lance Edgar ad859d4bef Allow specifying the size of a file, for readable_size() method
sometimes the file bytes are stored in DB instead of on disk
2021-01-04 13:22:44 -06:00
Lance Edgar 483a47ed43 Allow changing protected user password when acting as root 2021-01-02 18:49:20 -06:00
Lance Edgar 9c026c1dd9 Show node title in header for Login, About pages 2021-01-02 18:48:45 -06:00
Lance Edgar 6a0bcdaa82 Update changelog 2020-12-16 14:53:17 -06:00
Lance Edgar cc833c52b6 Add common "form poster" logic, to make CSRF token/header names configurable
also refactor the Feedback logic to use it
2020-12-16 14:28:41 -06:00
Lance Edgar a801672821 Improve error handling for feedback form
also make sure the message doesn't self-destruct when closing the dialog
2020-12-16 12:47:45 -06:00
Lance Edgar 20f3d001c4 Update changelog 2020-12-15 20:08:02 -06:00
Lance Edgar 058677adec Tweak spacing for header logo + title, in falafel theme
those were just too close together, this should fix.

nb. i am unclear if everything in layout.css is actually being used..?
2020-12-15 19:09:17 -06:00
Lance Edgar 95dd8d83dc Hopefully temporary version cap for deform
getting the following error w/ v2.0.15:

```
  File "/srv/envs/XXX/lib/python3.7/site-packages/deform/field.py", line 452, in get_widget_requirements
    requirements = [req for req in self.widget.requirements] + [
TypeError: 'NoneType' object is not iterable
```
2020-12-14 15:13:17 -06:00
Lance Edgar 8ff590e43f Expose "commodity" filter by default, for IFPS PLU codes 2020-12-07 19:01:43 -06:00
Lance Edgar 42eb72422d Add very basic support for merging 2 People
this is not very complete, but was enough for what i needed at the moment.
almost seems like incomplete feature may be worse than none at all?  but then
again some sort of default starting point is nice i guess...
2020-12-07 11:40:26 -06:00
Lance Edgar ac5139b7c4 Add basic views for IFPS PLU Codes 2020-12-06 19:36:32 -06:00
Lance Edgar 3250347df1 Add sqlalchemy version cap for tox coverage, docs
this is of course just kicking the can down the road a bit for now...really
need to get the latest zope.sqlalchemy instead...
2020-12-04 18:46:58 -06:00
Lance Edgar 2d8d4659b3 Use python3 when building coverage, docs targest via tox
at least i think that's what this does..hopefully it works
2020-12-04 18:27:47 -06:00
Lance Edgar efbc6df199 Tweak tox test config for py27
to make buildbot happy...
2020-12-04 18:06:53 -06:00
Lance Edgar 3ae47ba1e5 Update changelog 2020-12-04 17:50:56 -06:00
Lance Edgar a204e78e3a Assume composite PK when fetching instance for master view
i.e. stop trying a simple get() which would assume not only a simple PK, but
also assumes the PK is same as defined by the class mapper.  in some cases it
may be helpful to use a different PK from what mapper defines
2020-12-04 15:26:50 -06:00
Lance Edgar 0220e401cd Add "is empty" and related verbs, for "string" type grid filters 2020-12-04 15:26:21 -06:00
Lance Edgar 2ad0223e9a Add the "Employee Status" filter to People grid 2020-12-02 14:03:19 -06:00
Lance Edgar 04ba14fcd7 Update changelog 2020-12-01 20:05:19 -06:00
Lance Edgar e5d5850327 Add "generic" Employee tab feature, for profile view
i.e. this now exposes a way to begin/end employment status for a person, and
invokes the "employment handler" accordingly
2020-11-30 18:56:06 -06:00
Lance Edgar c87a452471 Tweak how an "enum" grid filter is initialized
wasn't working quite right for Buefy theme
2020-11-25 18:49:02 -06:00
Lance Edgar 3cd5fa7f4a Misc. tweaks to vendor catalog views
for sake of titeship
2020-10-23 22:08:43 -05:00
Lance Edgar ee3d32d60a Update changelog 2020-10-13 16:59:54 -05:00
Lance Edgar d80844c1ed Tweak how global DB session is created
no need to specify "record changes" flag here
2020-10-13 16:59:51 -05:00
Lance Edgar 9af7e38219 Update changelog 2020-09-29 18:07:10 -05:00
Lance Edgar dc1f613bc2 Fix "refresh results" for batches, in Buefy theme 2020-09-28 13:23:01 -05:00
Lance Edgar e0d1e39824 Add feature to "download rows for results" in master index view 2020-09-28 12:45:46 -05:00
Lance Edgar bcb4bda7e6 Fix bug in App Settings when list value is "missing" 2020-09-26 15:00:42 -05:00
Lance Edgar 37a05155e5 Add support for "list" type of app settings (w/ textarea) 2020-09-25 23:23:01 -05:00
Lance Edgar 18b9f43eaa Update changelog 2020-09-25 17:55:39 -05:00
Lance Edgar 20c31cbb07 Fix grid bug when paginator is not involved 2020-09-25 16:05:07 -05:00
Lance Edgar 5b05f9426f Allow alternate engine to act as 'default' when multiple are available 2020-09-25 16:04:32 -05:00
Lance Edgar 9dc9bd162f Update changelog 2020-09-24 13:54:46 -05:00
Lance Edgar c79b63e270 Fix bug when fetching partial versions data grid
e.g. when requesting new page of data
2020-09-23 20:42:43 -05:00
Lance Edgar 2d699b3e43 Add global help URL to login template 2020-09-23 18:32:53 -05:00
Lance Edgar 24cc4b4272 Change how we protect certain person, employee records 2020-09-23 16:39:44 -05:00
Lance Edgar 746db72046 Add user_is_protected() method to core View class
also, don't allow "protected" users to change their own password
2020-09-23 16:28:54 -05:00
Lance Edgar 77fa2a78d4 Update changelog 2020-09-22 19:40:47 -05:00
Lance Edgar af11511d24 Remove unwanted columns for default Products grid 2020-09-20 23:35:07 -05:00
Lance Edgar 6709d97abc Only show node title in home page header, for buefy themes
it's just redundant for the old jquery theme
2020-09-20 19:57:27 -05:00
Lance Edgar 4b4faae009 Show node title in header, for home page 2020-09-20 19:55:33 -05:00