Commit graph

104 commits

Author SHA1 Message Date
Lance Edgar 6e741f6156 fix: revert back to setup.py + setup.cfg
apparently with python 3.6 things "mostly" work but then they break if
any specified dependencies have a dot in the name.  which in this
project, is the case for `zope.sqlalchemy`

so until we drop python 3.6 support, we cannot use pyproject.toml here
2024-06-14 17:57:01 -05:00
Lance Edgar 1402d437b5 feat: switch from setup.cfg to pyproject.toml + hatchling 2024-06-10 16:23:38 -05:00
Lance Edgar 5f6b389556 Replace setup.py contents with setup.cfg 2023-05-16 15:02:39 -05:00
Lance Edgar e96f8844e2 Overhaul the "find by perm" feature a bit
use GET instead of POST on form submit, so can more easily share URL
for a particular result

also get rid of WTForms dependency!  sheesh

results table is still not pretty but..feeling lazy
2023-03-25 13:03:47 -05:00
Lance Edgar e19adf8907 Remove version workaround for sphinx
no longer needed
2023-03-09 15:26:34 -06:00
Lance Edgar 2ebe0401c3 Fix JSON rendering for Cornice API views
also make sure we use Cornice for all API views
2023-03-09 14:07:10 -06:00
Lance Edgar 46c7ef42de Remove version cap for cornice, now that we require python3 2023-03-08 20:38:16 -06:00
Lance Edgar 5736faf24c Use sa-filters instead of sqlalchemy-filters for API queries
latter was abandoned it seems; former has support for SQLAlchemy 1.4
and looks to be a drop-in replacement

another option, if needed at some point, though i like the looks of it
less, is https://sqlalchemy-filters-plus.readthedocs.io/

see also:

https://github.com/juliotrigo/sqlalchemy-filters/pull/69
https://github.com/juliotrigo/sqlalchemy-filters/issues/72
2023-02-11 11:53:47 -06:00
Lance Edgar 5f70a524e9 Use latest zope.sqlalchemy package
session / transaction registration modified per upstream changes, but
previous logic kept to support older versions of zope.sqlalchemy - for
now, although probably should require minimum version soon?
2023-02-07 12:20:22 -06:00
Lance Edgar 9263dd4ddb Add dependency for pyramid_retry 2023-02-04 19:03:05 -06:00
Lance Edgar 01e5eee981 Officially drop support for python2 2023-02-02 23:21:45 -06:00
Lance Edgar ed54092268 Add cleanup logic for old Beaker session data
pretty basic, but good enough for now
2022-12-23 23:30:45 -06:00
Lance Edgar 22176e89dd Add support for Beaker >= 1.12.0
but still support previous versions too, for now
2022-12-07 14:00:32 -06:00
Lance Edgar 2b220459c7 Temporary cap version for Beaker, per broken web apps! 2022-12-07 12:33:32 -06:00
Lance Edgar 620447f029 Add version workaround for sphinx-rtd-theme bug 2022-09-25 09:18:34 -05:00
Lance Edgar 7d72a43ecd Use pytest instead of nosetests, for tox runs 2022-08-18 18:19:54 -05:00
Lance Edgar 2375733d0f Add first experiment with websockets, for datasync status page 2022-08-17 18:24:55 -05:00
Lance Edgar eede391be8 Freeze pyramid version at 1.x
we need to get to python3 before can get latest cornice, and until then we
can't get latest pyramid either
2021-04-28 19:07:15 -05: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 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 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 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 4f2f192783 Revert "Freeze version for 'Chameleon' dependency"
This reverts commit aac9bad7ec.

all should be good now, per new 'deform' release
2020-07-03 19:14:30 -05:00
Lance Edgar aac9bad7ec Freeze version for 'Chameleon' dependency
pending the fix, which should come w/ next 'deform' release
2020-06-29 13:07:49 -05:00
Lance Edgar 8683e2a4c2 Cap version for 'cornice' dependency
their 5.0 release drops support for python 2.x but we can't do that yet
2020-05-20 16:15:05 -05:00
Lance Edgar 234fd8b2e1 Add support for Row Status Breakdown, for Import/Export batches 2020-01-14 11:54:00 -06:00
Lance Edgar 684363bcde Add basic/generic email validator logic
for use mostly in non-web scenarios, probably
2019-05-09 12:28:57 -05:00
Lance Edgar de788423e1 Update comments per frozen webhelpers2_grid dependency
not sure yet if it's worth refactoring to new version? probably is though..
2018-11-21 21:19:02 -06:00
Lance Edgar 46501b7caa Use sqlalchemy-filters package for REST API collection_get
just sorting and pagination so far though, no actual filters yet
2018-11-19 23:56:42 -06:00
Lance Edgar 9b61b05155 Add dependency for cornice 2018-11-03 17:15:23 -05:00
Lance Edgar 4aa8f43a7e Add basic image upload support for tempmon appliances 2018-10-19 19:20:20 -05:00
Lance Edgar d458d699e6 Restrict (temporarily I hope) webhelpers2_grid to 0.1
until we can figure out what happened in their 0.9 release
2018-09-27 21:10:36 -05:00
Lance Edgar 528c0f9622 Refactor sqlerror tween to add support for pyramid_retry
hopefully this doesn't break anything else..
2018-08-17 00:04:59 -05:00
Lance Edgar bd45833395 Test commit 2018-02-26 00:49:21 -06:00
Lance Edgar c7c241fe7a Update trove classifiers to reflect python 3, beta status 2018-02-25 21:25:52 -06:00
Lance Edgar f411dcde24 Remove pyramid_debugtoolbar dependency 2018-02-12 21:25:58 -06:00
Lance Edgar 585db147ac Tweak dependencies per rattail changes 2018-02-12 19:39:04 -06:00
Lance Edgar 189bc1faa8 Officially remove pyramid_simpleform dependency 2018-02-12 12:16:56 -06:00
Lance Edgar f636b98cb3 Officially remove FormEncode dependency 2018-02-11 23:33:09 -06:00
Lance Edgar 33e345f4ae Officially remove FormAlchemy dependency (yay!) 2018-02-11 23:25:54 -06:00
Lance Edgar 34ea572c0b Cap zope.sqlalchemy dependency at pre-1.0
not sure why exactly but this is necessary for now
2018-01-31 15:09:52 -06:00
Lance Edgar 99ed897bf4 Add getting started doc for dev environment
also change docs theme
2018-01-11 12:15:37 -06:00
Lance Edgar 63e336d4bb Override deform template for checkbox field; fix label behavior 2017-08-17 17:21:07 -05:00
Lance Edgar 66a3d6e66e Add colander/deform dependencies 2017-07-18 16:23:46 -05:00
Lance Edgar 5b1ae27a10 Add new "v3" grids, refactor all views to use them
or at least that's the idea..hopefully we caught them all
2017-07-14 03:57:36 -05:00
Lance Edgar 581ced2990 Switch license to GPL v3 (no longer Affero)
refs #2
2017-07-06 23:47:56 -05:00
Lance Edgar 631665e208 Refactor all remaining usage of webhelpers; use webhelpers2 etc. instead 2017-07-06 21:11:05 -05:00
Lance Edgar 6302d5a351 Refactor grids to use new 'paginate' library
instead of the older `webhelpers.paginate`
2017-07-06 20:57:53 -05:00
Lance Edgar 8014e60d14 Add webhelpers2 dependency, use it for most things
still using webhelpers for certain things yet, hopefully can get rid of that soon
2017-07-06 20:13:42 -05:00
Lance Edgar 5bded89466 Replace occurrences of execfile() 2017-07-06 16:25:29 -05:00