Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: OBPIH-829 Initial implementation of REST API #281

Merged
merged 148 commits into from
Jun 18, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
bf43426
OBPIH-739 Adding day to bin QoH export
jmiranda Mar 7, 2018
2d619d9
upgrade to grails 1.3.9
jmiranda Sep 13, 2015
d651011
added raven (sentry) plugin
jmiranda Sep 13, 2015
b6b276a
moved raven (sentry) plugin to BuildConfig and added default configur…
jmiranda Sep 14, 2015
0b543d1
forgot to edit travis-ci to use grails 1.3.9
jmiranda Sep 14, 2015
60590d7
#101: Add user data to sentry logging events
jmiranda Sep 14, 2015
156a360
bumped app version to 0.7.30
jmiranda Mar 8, 2018
e226ecb
OBPIH-568 Products marked as inactive should be filtered out of queries
jmiranda Mar 9, 2018
4f2dded
OBPIH-739 Adding day to bin QoH export
jmiranda Mar 7, 2018
7a06979
upgrade to grails 1.3.9
jmiranda Sep 13, 2015
13250b4
added raven (sentry) plugin
jmiranda Sep 13, 2015
b46e022
moved raven (sentry) plugin to BuildConfig and added default configur…
jmiranda Sep 14, 2015
134ab86
forgot to edit travis-ci to use grails 1.3.9
jmiranda Sep 14, 2015
ae8e568
#101: Add user data to sentry logging events
jmiranda Sep 14, 2015
f852bb0
bumped app version to 0.7.30
jmiranda Mar 8, 2018
b99cc4b
OBPIH-568 Products marked as inactive should be filtered out of queries
jmiranda Mar 9, 2018
2d292e7
OBPIH-761 Filter requisitions by request date and issue date
jmiranda Mar 20, 2018
ad59e81
Fixed minor issue with pretty date formatting
jmiranda Mar 20, 2018
e2e8e1c
Merge branch 'hotfix/release-0.7.30' of https://github.com/openboxes/…
jmiranda Mar 20, 2018
31e72d6
OBPIH-761 Added new parameters to export buttons
jmiranda Mar 21, 2018
e7ee4eb
OBPIH-568 Added db migration to set product.active equal to true if n…
jmiranda Mar 21, 2018
38eb8b4
Merge pull request #252 from openboxes/hotfix/release-0.7.30
jmiranda Apr 2, 2018
473b34e
#261 Inactive users should not receive email notifications
jmiranda Apr 19, 2018
a9febe0
#260 Allow admin to configure email subscriptions for users on a per-…
jmiranda Apr 19, 2018
caa24f6
Attempt to fix dependency issues with cache headers plugin
jmiranda Apr 19, 2018
b35d818
Migrated plugin config from application.properties to BuildConfig.groovy
jmiranda Apr 19, 2018
1262dcd
Fixed database migrations for new email notification roles
jmiranda Apr 19, 2018
b9853fc
Fixed database migrations for new email notification roles (removed a…
jmiranda Apr 19, 2018
217ae27
Fixed bug with sending product creation emails
jmiranda Apr 19, 2018
77c0476
Merge pull request #263 from openboxes/hotfix/260-configure-email-sub…
jmiranda Apr 30, 2018
74e6bb4
OBPIH-752 Initial implementation of cycle count report
jmiranda Apr 30, 2018
f25bace
bumped app version to 0.7.31
jmiranda Apr 30, 2018
5143c4b
Add gpars dependency
jmiranda May 3, 2018
26d0156
OBPIH-752 Improved performance of cycle count report using GPars; fix…
jmiranda May 3, 2018
ed00dcb
OBPIH-845 Fixed bug in which importing a packing list sometimes leads…
jmiranda May 15, 2018
7fdc1fe
OBPIH-846 Need to increase number of search results displayed when ad…
jmiranda May 15, 2018
2442e70
OBPIH-867 Added node_modules and .sdkman to cached directories
jmiranda May 18, 2018
66ca0f0
OBPIH-867 Removed .sdkman from cached directories
jmiranda May 18, 2018
226e587
OBPIH-829 Added a simple no-auth version of the stock movement API th…
jmiranda May 19, 2018
51cce9c
OBPIH-829 Added appropriate response status codes
jmiranda May 19, 2018
35388b9
Fix React fields onBlur handling
pmuchowski May 21, 2018
97bada9
OBPIH-863 OBPIH-859
May 21, 2018
735a708
OBPIH-855: Add wrapper for FieldArray and button field
pmuchowski May 21, 2018
669c9ff
Merge pull request #282 from openboxes/OBPIH-851
jmiranda May 22, 2018
4244a10
OBPIH-860 Wizard form steps
awalkowiak May 18, 2018
cb44fce
Merge pull request #283 from openboxes/OBPIH-860
jmiranda May 22, 2018
9619949
Merge pull request #284 from openboxes/obpih-863-859
jmiranda May 22, 2018
ebd508f
OBPIH-871: Make ArrayField Add button not required
pmuchowski May 22, 2018
b7ea85c
Merge pull request #285 from openboxes/OBPIH-871
jmiranda May 22, 2018
6e74524
Add react-modal library to handle modals
awalkowiak May 23, 2018
5b7e489
Add new field to display not editable text
pmuchowski May 23, 2018
3c380da
Move modals to separate folder
awalkowiak May 23, 2018
c1d0a44
OBPIH-871: Create step 2 form (movement from a depot with no stocklist)
pmuchowski May 23, 2018
044518d
Merge pull request #286 from openboxes/OBPIH-874
jmiranda May 24, 2018
70447a7
Merge pull request #287 from openboxes/OBPIH-871
jmiranda May 24, 2018
5a8c3aa
Merge pull request #288 from openboxes/obpih-871
jmiranda May 24, 2018
e4da024
Move touched property to BaseFields and check if component should upd…
pmuchowski May 25, 2018
6e3c400
Move FieldArrayComponent to separate file and implement shouldCompone…
pmuchowski May 25, 2018
42f145c
Remove unnecessary margin on form inputs
pmuchowski May 25, 2018
d7b1710
Add new Field component to select form values
pmuchowski May 28, 2018
e3e9ffd
OBPIH-870: Create step 2 form (movement from a depot with stocklist)
pmuchowski May 28, 2018
e9e8628
OBPIH-870: Add missing Requisition items label
pmuchowski May 29, 2018
f9e5fed
Add possibility to store objects in Select value
pmuchowski May 29, 2018
2d92b03
OBPIH-870: Make 'Max QTY' field readonly
pmuchowski May 29, 2018
1005169
Merge pull request #289 from openboxes/OBPIH-870
jmiranda May 29, 2018
4731ec2
Expanded mock data
May 29, 2018
30baec4
Parametrized LabelField
May 29, 2018
4033934
Added Ribbon to Stock Movements workflow
May 29, 2018
3a439a0
OBPIH-873 Step 3: Edit Page (if movement is from a depot)
May 29, 2018
a5cf7cb
Merge branch 'hotfix/OBPIH-752-cycle-count-report' into hotfix/releas…
jmiranda May 29, 2018
b05ad37
OBPIH-752 Minor improvements to cycle count report
jmiranda May 29, 2018
1af5651
Merge pull request #290 from openboxes/obpih-873
jmiranda May 30, 2018
5f96d04
Step 4: Pick Page
awalkowiak May 30, 2018
1051324
OBPIH-872: Create step 2 form (movement from a vendor)
pmuchowski May 30, 2018
5ff9bef
Merge pull request #280 from openboxes/feature/OBPIH-867-faster-build…
jmiranda May 31, 2018
d2dc21b
OBPIH-879/873:
Jun 4, 2018
4f31111
Merge pull request #292 from openboxes/OBPIH-876
jmiranda Jun 4, 2018
01e225d
Merge pull request #294 from openboxes/obpih-873
jmiranda Jun 4, 2018
1b2738a
Merge branch 'develop' into OBPIH-872
pmuchowski Jun 4, 2018
f68159f
Merge pull request #293 from openboxes/OBPIH-872
jmiranda Jun 4, 2018
f509bee
OBPIH-752 Changed default date format for dates in cycle count report
jmiranda Jun 6, 2018
b0ccb18
Merge pull request #291 from openboxes/hotfix/release-0.7.32
jmiranda Jun 7, 2018
c20f012
bumped app version to 0.7.32
jmiranda Jun 8, 2018
55bd403
Merge pull request #296 from openboxes/hotfix/release-0.7.32
jmiranda Jun 8, 2018
762fc31
Merge branch 'master' into develop
jmiranda Jun 8, 2018
7ca5061
Step 4: Pick Page Modal forms and improvements
awalkowiak Jun 8, 2018
c4012cb
Fixed broken unit test on travis CI
jmiranda Jun 8, 2018
4021af4
OBPIH-867 Replaced cached directory node_modules with .npm (https://s…
jmiranda Jun 8, 2018
b6322bb
Fixed broken unit test on travis CI
jmiranda Jun 8, 2018
f699705
Merge branch 'develop' into feature/OBPIH-867-faster-builds-on-travis-ci
jmiranda Jun 8, 2018
1cdb68e
Merge pull request #298 from openboxes/feature/OBPIH-867-faster-build…
jmiranda Jun 8, 2018
6a352e0
Merge pull request #297 from openboxes/OBPIH-876,880,894
jmiranda Jun 9, 2018
1a5f333
#254 Implemented a simple authentication mechanism for REST API requests
jmiranda Jun 9, 2018
a5dccd8
Improved error controller to always return appropriate response when …
jmiranda Jun 9, 2018
1bc5ec9
Removed unnecessary parameter from product search
jmiranda Jun 9, 2018
72a8048
OBPIH-829 Added REST API for retrieving product data
jmiranda Jun 9, 2018
bef30a2
OBPIH-829 Separated stock movement REST API from stock movement contr…
jmiranda Jun 9, 2018
2437ed5
Product API should allow lookups by ID or product code
jmiranda Jun 9, 2018
f14e81d
OBPIH-872: Change Item label and item fix select
pmuchowski Jun 11, 2018
9356a09
OBPIH-889: Remove empty line items from step 2 when going next
pmuchowski Jun 11, 2018
4e79ad9
OBPIH-884 Make 'npm run bundle' create production bundle
Jun 11, 2018
8887c47
Merge pull request #299 from openboxes/OBPIH-872
jmiranda Jun 11, 2018
cec4d7e
Merge pull request #300 from openboxes/OBPIH-889
jmiranda Jun 11, 2018
cf74f98
Merge pull request #301 from openboxes/obpih-884
jmiranda Jun 11, 2018
a905754
Step 5: Send movement page (for all movements) general view
awalkowiak Jun 11, 2018
19f13eb
Small fixes
awalkowiak Jun 11, 2018
4549a25
Merge pull request #302 from openboxes/OBPIH-885
jmiranda Jun 11, 2018
8318ca0
OBPIH-829 Improved REST API error handling
jmiranda Jun 12, 2018
8edec7d
OBPIH-829 Added REST API for category
jmiranda Jun 12, 2018
0d170b7
OBPIH-829 Implemented generic lookup REST API to use as a fallback fo…
jmiranda Jun 12, 2018
ceeeaaf
OBPIH-829 Added initial REST API documentation
jmiranda Jun 12, 2018
a435e52
OBPIH-829 Added auth rules for generic API
jmiranda Jun 15, 2018
b0e5e25
OBPIH-829 Fixed bug with unauthorized error handler
jmiranda Jun 15, 2018
d7a7a6a
OBPIH-829 Implemented default API controller for all domain object
jmiranda Jun 15, 2018
cc42a99
OBPIH-829 Implemented created on Product API
jmiranda Jun 15, 2018
11529c2
OBPIH-829 Added default marshallers for a bunch of domain classes
jmiranda Jun 15, 2018
e7df9e0
OBPIH-829 Added a simple no-auth version of the stock movement API th…
jmiranda May 19, 2018
1cf576d
OBPIH-829 Added appropriate response status codes
jmiranda May 19, 2018
c6b0e06
#254 Implemented a simple authentication mechanism for REST API requests
jmiranda Jun 9, 2018
2cba563
Improved error controller to always return appropriate response when …
jmiranda Jun 9, 2018
4baaaec
Removed unnecessary parameter from product search
jmiranda Jun 9, 2018
fb4fc0e
OBPIH-829 Added REST API for retrieving product data
jmiranda Jun 9, 2018
5c4da0f
OBPIH-829 Separated stock movement REST API from stock movement contr…
jmiranda Jun 9, 2018
7c253a6
Product API should allow lookups by ID or product code
jmiranda Jun 9, 2018
163fb83
OBPIH-829 Improved REST API error handling
jmiranda Jun 12, 2018
8c4d217
OBPIH-829 Added REST API for category
jmiranda Jun 12, 2018
9e57ffc
OBPIH-829 Implemented generic lookup REST API to use as a fallback fo…
jmiranda Jun 12, 2018
7db6292
OBPIH-829 Added initial REST API documentation
jmiranda Jun 12, 2018
e46ee89
OBPIH-829 Added auth rules for generic API
jmiranda Jun 15, 2018
c3f3868
OBPIH-829 Fixed bug with unauthorized error handler
jmiranda Jun 15, 2018
74b4d4f
OBPIH-829 Implemented default API controller for all domain object
jmiranda Jun 15, 2018
f59895b
OBPIH-829 Implemented created on Product API
jmiranda Jun 15, 2018
c019815
OBPIH-829 Added default marshallers for a bunch of domain classes
jmiranda Jun 15, 2018
490d830
Merge branch 'feature/OBPIH-829-stock-movement-api' of https://github…
jmiranda Jun 15, 2018
039a933
OBPIH-829 Fixed issues with JSON marshallers
jmiranda Jun 15, 2018
492a684
OBPIH-829 Improvements to the JSON marshallers
jmiranda Jun 16, 2018
3fae278
OBPIH-829 Updated API documentation
jmiranda Jun 16, 2018
93ac803
OBPIH-829 Implemented create on multiple objects and updated API docu…
jmiranda Jun 16, 2018
631c226
Fixing readthedocs mkdocs configuration
jmiranda Jun 16, 2018
8beca43
Fixed syntax error in mkdocs.yml
jmiranda Jun 16, 2018
543fdb3
Third time's a charm?
jmiranda Jun 16, 2018
476e757
Last time I promise re: readthedocs
jmiranda Jun 16, 2018
e55b8e2
Fixed readthedocs issue with upgrading page
jmiranda Jun 16, 2018
5b7e472
Minor edits to the API docs
jmiranda Jun 16, 2018
48246c4
OBPIH-829 Changed parseRequest to true on Product and Category APIs t…
jmiranda Jun 17, 2018
dc26282
OBPIH-829 Realized updating multiple objects on the PUT endpoint does…
jmiranda Jun 17, 2018
13d88fd
OBPIH-829 Added a simple Search API which supports eq, like, ilike on…
jmiranda Jun 17, 2018
cef140d
OBPIH-829 Fixed broken unit tests
jmiranda Jun 18, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
OBPIH-739 Adding day to bin QoH export
  • Loading branch information
jmiranda committed Mar 7, 2018
commit bf43426c8e827a33dcb90e1fa5112b320a25d115
Original file line number Diff line number Diff line change
Expand Up @@ -1543,7 +1543,7 @@ class JsonController {
productGroup: it?.product?.genericProduct?.name,
category: it?.product?.category?.name,
lotNumber: it?.inventoryItem?.lotNumber,
expirationDate: g.formatDate(date: it?.inventoryItem?.expirationDate, format: "MMM yyyy"),
expirationDate: g.formatDate(date: it?.inventoryItem?.expirationDate, format: "dd/MMM/yyyy"),
unitOfMeasure: it?.product?.unitOfMeasure,
binLocation: it?.binLocation?.name,
quantity: it?.quantity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class ReportController {
String csv = ""
if (binLocation) {
String defaultBinLocation = g.message(code: 'default.label')
String expirationDate = g.formatDate(date: binLocation?.inventoryItem?.expirationDate, format: "MMM yyyy")
String expirationDate = g.formatDate(date: binLocation?.inventoryItem?.expirationDate, format: "dd/MMM/yyyy")
csv += binLocation.status + ","
csv += StringEscapeUtils.escapeCsv(binLocation?.product?.productCode) + ","
csv += StringEscapeUtils.escapeCsv(binLocation?.product?.name) + ","
Expand Down