Commit graph

2652 commits

Author SHA1 Message Date
Lance Edgar
fb7a572519 Use "People Handler" to update names, when editing person or user 2021-01-28 14:34:18 -06:00
Lance Edgar
b3867d9c89 Tweak how vendor link is rendered for readonly field 2021-01-27 22:24:23 -06:00
Lance Edgar
797a65e9c8 Update changelog 2021-01-27 14:16:11 -06:00
Lance Edgar
40b4596df4 Hopefully fix package links for upgrade diff
why in the F doesn't a hyphen work for this?
2021-01-27 09:01:42 -06:00
Lance Edgar
5e27ceedce Hide "collect from wild" button for UOMs unless user has permission 2021-01-27 08:56:38 -06:00
Lance Edgar
a927827e33 Add changelog link for Theo, in upgrade package diff 2021-01-27 08:52:38 -06:00
Lance Edgar
d1d64ec96c Fix some UOM bugs for new customer order 2021-01-27 08:50:20 -06:00
Lance Edgar
480d878db8 Initial support for adding items to, executing customer order batch 2021-01-26 20:10:05 -06:00
Lance Edgar
475ab3013f Update changelog 2021-01-25 11:43:35 -06:00
Lance Edgar
b55ecc3898 Tweak label style, per recent base.css change 2021-01-23 21:08:00 -06:00
Lance Edgar
a327dfab7c Add basic web API app, for simple use cases
plus some functions which make it easier to customize
2021-01-23 14:11:05 -06:00
Lance Edgar
649ac12cdd Add woocommerce package links for sake of upgrade diff view 2021-01-21 17:48:09 -06:00
Lance Edgar
dde6195f38 Add master view for Units of Measure mapping table
w/ support for "collect from wild" tool
2021-01-21 17:39:16 -06:00
Lance Edgar
0035a4129a Add custom base.css for falafel theme
this copies from bobcat/base.css and just adds margin-bottom for p tag.

this was done b/c in certain Buefy dialogs etc. the p tags are too close
together.  not sure if this change breaks anything else yet...
2021-01-21 17:37:17 -06:00
Lance Edgar
523ea6e0df Add some generic render methods to MasterView 2021-01-20 21:56:20 -06:00
Lance Edgar
59167278d4 Set self.model when constructing new View 2021-01-20 20:29:07 -06:00
Lance Edgar
f480c046f6 Add views for "delete product" batch 2021-01-19 12:18:56 -06:00
Lance Edgar
af99ca7905 Make 'new-report' the default feature to be generated 2021-01-19 11:25:02 -06:00
Lance Edgar
850b6f71dd Add basic support for defining columns when generating new table feature 2021-01-18 00:32:30 -06:00
Lance Edgar
ca602ff845 Add feature to generate new features...
at least that's the idea.  guess we'll see where this goes
2021-01-17 12:08:33 -06:00
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