Commit graph

3760 commits

Author SHA1 Message Date
Lance Edgar a2b7f882bc Split "new receiving batch" process into 2 steps: choose, create
so that the form used to create the batch can be made custom per-workflow, and
it won't have to think about any other workflows since we just use one form at
a time for that
2021-01-30 19:54:38 -06:00
Lance Edgar ff2e39f67a Make handler responsible for possible receiving modes 2021-01-30 16:56:30 -06:00
Lance Edgar 708641a8f1 Purge things for legacy (jquery) mobile, and unused template themes
gosh it feels good to get rid of this stuff...  fingers crossed that nothing
was broken, but am thinking it's safe
2021-01-30 15:52:47 -06:00
Lance Edgar fac00e6ecd Misc. improvements for ordering batches, purchases
also we now show handler's description when executing batch
2021-01-30 13:17:08 -06:00
Lance Edgar e1e3301fc1 Undo recent base.css changes for <p> tags
turns out i should be doing `<p class="block">` when i want spacing
2021-01-30 13:12:04 -06:00
Lance Edgar 1a18147971 Normalize naming of all traditional master views
whoops, missed one..
2021-01-28 17:18:45 -06:00
Lance Edgar 719e7c8441 Normalize naming of all traditional master views
such names should never use plural forms.  for now what plural forms were
previously in use, should still work.  ideally can remove those at some point
2021-01-28 16:32:25 -06:00
Lance Edgar 3ad19d05e5 Update changelog 2021-01-28 14:56:13 -06:00
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