Commit graph

59 commits

Author SHA1 Message Date
Lance Edgar 2988ff3ee9 fix: do not show flash message when changing app theme
it is just distracting esp. when testing different themes
2024-07-05 12:50:45 -05:00
Lance Edgar 2c2727bf66 feat: standardize how app, package versions are determined 2024-06-10 09:14:20 -05:00
Lance Edgar b8ace1eb98 fix: avoid deprecated config methods for app/node title 2024-06-09 23:07:52 -05:00
Lance Edgar 610e1666c0 Revert "Use pkg_resources to determine package versions"
This reverts commit f6f2a53a0c.
2024-06-07 10:07:31 -05:00
Lance Edgar f6f2a53a0c Use pkg_resources to determine package versions
and always add `app_version` to global template context.  this was for
sake of "About This App v1.0.0" style links in custom page footers
2024-06-06 20:34:31 -05:00
Lance Edgar 00e2af1561 Set explicit referrer when changing app theme
to include url #hash value if there is one, so switching theme is more
seamless from the view profile page
2024-06-04 01:07:38 -05:00
Lance Edgar 890ec64f3c Misc. template cleanup per oruga effort 2024-04-27 19:17:27 -05:00
Lance Edgar 12eeb5df97 Add basic support for Person quickie lookup
shows profile view if person is found
2023-06-17 16:09:24 -05:00
Lance Edgar c18367739f Add initial swagger.json endpoint for API
probably this needs more, but good enough to test with
2023-05-16 23:34:48 -05:00
Lance Edgar 85947878c4 Get rid of newstyle flag for Form.validate() method
we always/only use "new style" now
2023-05-15 08:10:42 -05:00
Lance Edgar 2ed63b1c1a Massive overhaul of "generate project" feature
previous incarnation was woefully lacking.  new feature is much more
extensible.  still need to remove old POS integration specifics in
some places.

and a couple of unrelated things that snuck in..

- deprecate `rattail.util.OrderedDict`
- deprecate `rattail.util.import_module_path()`
- deprecate `rattail.util.import_reload()`
2023-05-05 00:18:16 -05:00
Lance Edgar f611a5a521 Refactor Query.get() => Session.get() per SQLAlchemy 1.4 2023-02-11 22:05:45 -06:00
Lance Edgar 9faaea881d Remove all deprecated use_buefy logic
also remove some static files no longer used, etc.
2023-02-03 16:10:04 -06:00
Lance Edgar 9fe9983bf9 Add basic support for editing page help info
site admin should be able to point help wherever they want
2022-12-24 16:08:09 -06:00
Lance Edgar b64f6c7884 Use newer config strategy for all views
to make inheritance easier
2022-11-23 12:20:58 -06:00
Lance Edgar 2fde1db83c Allow user feedback to request email reply back 2022-08-17 21:08:54 -05:00
Lance Edgar 33abeb1aca Improve the Poser Setup page; allow poser dir refresh 2022-03-05 09:12:01 -06:00
Lance Edgar f5d24133f7 Make common web view a bit more common
i.e. avoid the need to subclass it in derived projects
2022-03-04 17:44:34 -06:00
Lance Edgar 72177aef0a Add basic support for Poser reports, list/create 2022-03-02 17:21:38 -06:00
Lance Edgar 57e22c9ff5 Only show DB picker for permissioned users 2022-02-18 15:39:12 -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 9c026c1dd9 Show node title in header for Login, About pages 2021-01-02 18:48:45 -06: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
Lance Edgar 9620fc5a83 Add config for "global" help URL 2020-08-20 17:51:00 -05:00
Lance Edgar 3a6ced388a Allow the home page to include quickie search
make it easier for any "non-master" view to do so
2020-04-07 13:44:13 -05:00
Lance Edgar d9f6a7201e Let config totally disable the old/legacy jQuery mobile app 2020-04-04 20:51:49 -05:00
Lance Edgar e04e67774e Add common permission for sending user feedback
there can be valid reasons to *not* expose that, so let admin decide
2020-03-23 19:33:00 -05:00
Lance Edgar c812519931 Fix URL for user, for feedback email 2019-10-08 10:08:13 -05:00
Lance Edgar 1a6f9c2159 Fix 'about' page template for Buefy themes 2019-09-09 17:34:24 -05:00
Lance Edgar 19c734683b Add basic API view for user feedback 2019-08-29 18:30:13 -05:00
Lance Edgar f3ac3ca25e Yet another fix for user feedback form handling 2019-08-04 22:59:32 -05:00
Lance Edgar 243c69b231 Fix some user feedback form handling
sheesh i don't see how this hasn't been more broken for some time now...
2019-08-04 22:36:58 -05:00
Lance Edgar 1b1d37b9df Fix home and login pages for Buefy theme
not sure what broke those so bad...they're still not "great"
2019-08-04 20:43:31 -05:00
Lance Edgar 839f6affe2 Add basic "DB picker" support, for views which allow multiple engines
i.e. whichever engine is "current" will determine where data comes from
2019-07-09 22:14:12 -05:00
Lance Edgar 3789e4b3bd Don't require user name for anonymous feedback msg 2019-03-04 18:29:25 -06:00
Lance Edgar ef7466e0d5 Add mobile support for basic "feedback" dialog 2019-03-04 18:12:37 -06:00
Lance Edgar ea0dc1ea19 Add template "theme" feature, albeit global
would be even better to let each user session have something different, but
alas this is all-or-nothing for now
2018-11-27 17:52:02 -06:00
Lance Edgar d1980aeed8 Add client IP address to user feedback email 2018-11-05 11:24:03 -06:00
Lance Edgar cb2234cef5 Fix encoding for robots.txt view response 2018-02-14 10:31:04 -06:00
Lance Edgar a0d9b5ddf4 Add generic 'login_as_home' setting
i.e. redirect anonymous users to login instead of showing home page
2018-02-12 22:18:59 -06:00
Lance Edgar cdaf36f346 Rename 'forms2' package, templates to 'forms' 2018-02-11 22:57:33 -06:00
Lance Edgar 1c27efc8f1 Refactor feedback feature to use colander/deform 2018-02-11 16:05:56 -06:00
Lance Edgar 8d002f76d2 Convert user feedback mechanism to use modal dialog
instead of navigating to new page.  this is how it should have been done
to begin with...
2017-10-13 08:01:43 -07:00
Lance Edgar 8186366b69 Add view for consuming new batch ID; misc. tweaks for grids etc. 2017-08-02 19:16:45 -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 9460b41ec2 Add basic 'robots.txt' support to CommonView 2017-05-13 14:26:16 -05:00
Lance Edgar a3d0966139 Allow config to define home page image URL 2017-03-30 22:19:44 -05:00
Lance Edgar e313e1bc8c Tweak logic for registering exception view, to avoid test breakage 2017-03-29 22:31:10 -05:00
Lance Edgar 73c0d02b9a Only configure exception view when running in production
apparently that supresses normal traceback on console even..
2017-03-28 00:54:21 -05:00