Commit graph

48 commits

Author SHA1 Message Date
Lance Edgar
919d8d109f Use Grid.make_sorter() instead of legacy code
b/c multi-column sorting relies on this
2023-10-18 18:18:55 -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
0d52d554e7 Add options for grid results to link straight to Profile view
probably should have done this a long time ago...
2023-06-10 23:19:52 -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
2278082a4d Cleanup employees view per new supplements
also add permission for "view employee secrets" (where applicable)
2022-12-10 09:48:22 -06:00
Lance Edgar
3c740549e2 Turn on download results feature for Employees 2022-11-18 11:20:29 -06:00
Lance Edgar
862198cf82 Improve "touch" logic for employees
also use app handler for default touch logic
2022-08-03 11:13:43 -05:00
Lance Edgar
a28a801a62 Update some more view config syntax
some common ones used by a particular app..
2022-03-04 12:32:28 -06:00
Lance Edgar
6af5157b4e Update some method calls to avoid deprecation warnings 2022-01-08 19:48:14 -06:00
Lance Edgar
f1fd003dca Add permission for viewing "all" employees
previously we showed all if user had "edit" perm
2021-11-11 12:30:00 -06:00
Lance Edgar
a7f4b2e6ef Refactor autocomplete view logic to leverage new "autocompleters"
finally!  this cleans up some view config and AFAIK there is no loss
in functionality etc.
2021-10-01 10:28:06 -04:00
Lance Edgar
9365dd7b1a Add way to update Employee ID from profile view 2021-09-22 18:29:30 -05:00
Lance Edgar
8169160b57 Allow "touch" action for employees 2021-08-31 22:05:02 -05: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
24cc4b4272 Change how we protect certain person, employee records 2020-09-23 16:39:44 -05:00
Lance Edgar
ca31af196f Expose user reference(s) for employees 2020-08-09 14:39:31 -05:00
Lance Edgar
4afe8e900e Don't bug out if stores, departments fields aren't present for Employee 2019-10-15 20:33:37 -05:00
Lance Edgar
c525b16581 Fix a label for Employees grid 2019-10-15 19:55:56 -05:00
Lance Edgar
69eb54abf6 Highlight former Employee records as red/warning 2019-08-03 17:18:53 -05:00
Lance Edgar
6e1f925944 Cleanup 'phone' filter/sort logic for Employees grid
per newer conventions etc.  needed to override some of this for a client
2019-07-25 16:05:10 -05:00
Lance Edgar
ec70d85638 Add custom grid filter for phone number fields
and use it in various grid views
2019-04-10 14:20:36 -05:00
Lance Edgar
b0b551af82 Add basic support for "mobile edit" of records
specifically need to allow this for Customer records, for one app
2019-02-19 17:10:42 -06:00
Lance Edgar
db0eee707a Fix default (status) filter for Employees grid 2018-09-06 20:37:06 -05:00
Lance Edgar
5c1008a0df More tweaks for python 3 2018-02-15 12:48:14 -06:00
Lance Edgar
2219315ccc Collapse all master4 views back to just 'master' 2018-02-05 21:23:23 -06:00
Lance Edgar
88fe195615 Refactor all "easy" views per master4 2018-02-05 13:00:33 -06:00
Lance Edgar
4902fab187 Refactor views to use Grid.set_sort_defaults() method 2017-12-04 22:40:10 -06:00
Lance Edgar
84ebf5d929 Refactor employees view to use master3 2017-12-04 13:48:31 -06:00
Lance Edgar
e91f18f344 Add some links to employees grid 2017-08-08 13:02:57 -05:00
Lance Edgar
bea28e97e9 Expose version history for all supported tables
mostly for sake of products, but various..
2017-07-15 02:46:39 -05:00
Lance Edgar
c57e2e17cc Final grid refactor; we now have just 'grids' :)
this also removes some old UI stuff for the first attempt at continuum
versioning..among other cruft
2017-07-14 20:30:00 -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
62fa0f9fcb Remove all "old-style" (aka. version 1) grids 2017-07-06 15:23:33 -05:00
Lance Edgar
85bdefc25b Add versioning display support for contact-related models 2017-07-05 17:16:28 -05:00
Lance Edgar
3111aad7cd Expose full-time flag and start date for employee view 2017-05-16 13:44:02 -05:00
Lance Edgar
4a2f329613 Fix bugs when checking for 'chuck' in demo mode 2017-03-24 17:57:23 -05:00
Lance Edgar
581a21bd9d Add basic "mobile index" master view, plus support for demo mode 2017-03-19 11:21:00 -05:00
Lance Edgar
693c2dce57 Tweak grid configuration for Employees view 2017-03-10 12:45:44 -06:00
Lance Edgar
34bd40ca86 Hide first/last name for employee view, unless in readonly mode 2016-12-10 16:03:55 -06:00
Lance Edgar
fdd0b6ec3b Add some links between employees / people / customers views 2016-11-21 17:47:24 -06:00
Lance Edgar
7edfc98747 Add 'Stores' and 'Departments' fields to Employee fieldset. 2016-01-30 15:19:04 -06:00
Lance Edgar
973b9903ae Add employee/department relationships to employee and department views. 2016-01-17 19:45:42 -06:00
Lance Edgar
16bbbb4a75 Convert (most?) basic views to use master view pattern. 2015-12-07 15:08:14 -06:00
Lance Edgar
fcfe5f6442 Add display_name field to employee CRUD view. 2015-05-19 22:18:21 -05:00
Lance Edgar
6db88edb68 Add autocomplete view for current employees. 2015-04-11 00:23:31 -05:00
Lance Edgar
40efd8a3bc Rebranded to Tailbone. 2013-09-01 08:18:37 -07:00
Renamed from rattail/pyramid/views/employees.py (Browse further)