Commit graph

65 commits

Author SHA1 Message Date
chrishills
198c87415f
Merge pull request #41 from parcelvoy/feat/40/client-refactor
Client API Refactor
2022-11-13 20:47:07 -05:00
Chris Anderson
3b02133454 Fixes migration 2022-11-13 16:48:30 -06:00
Chris Anderson
312fb7379d Fixes linter issues 2022-11-13 16:37:17 -06:00
Chris Anderson
9d296726dc Updates for client library compatibility 2022-11-13 16:32:29 -06:00
chrishills
09409b4ebf
Merge pull request #39 from parcelvoy/feat/38/rule-compilation
Allow for rule values to contain Handlebars
2022-11-12 19:06:09 -06:00
chrishills
2004c5d1c9
Merge pull request #37 from parcelvoy/feat/36/authentication
Adds two primary forms of SSO authentication
2022-11-12 19:01:03 -06:00
Chris Anderson
2c348196eb Fixes to migrations 2022-11-11 20:37:56 -06:00
Chris Anderson
cb4d004ded Adds endpoint for creating or updating a device 2022-11-11 20:31:42 -06:00
Chris Anderson
5a63c9fdc7 Starts refactoring auth and client endpoints 2022-11-11 16:13:07 -06:00
Chris Anderson
5329758597 Allow for rule values to contain Handlebars
Removes logs
2022-11-11 09:34:58 -06:00
Chris Anderson
f1fece0039 Fixes test cases 2022-11-11 09:23:58 -06:00
Chris Anderson
9f77deb756 Improves upon error handling 2022-11-10 21:47:57 -06:00
Chris Anderson
c7a47feb9b Refactors controllers
Adds project guard middleware
Removes magic link auth
2022-11-10 20:44:58 -06:00
Chris Anderson
35d85091a0 Adds remaining OpenID methods 2022-11-08 18:23:16 -06:00
Chris Anderson
f9561a325e Starts adding three primary forms of authentication 2022-11-06 17:08:21 -06:00
chrishills
326f3833f1
Adds paging and changes to routing (#35)
* adds page number-based searching utility to models, adds some related entity searches for Projects

* fixed linter warnings, moved search params

Co-authored-by: Chris Anderson <hi@chrisanderson.io>
2022-11-03 20:10:11 -05:00
Chris Anderson
c4d0e5f444
Adds link and open tracking (#34)
* Adds link and open tracking

* Add what url was clicked to the event
2022-10-25 21:00:41 -05:00
Chris Anderson
a8528ee49a
Add template endpoints & bug fixes (#28)
* Adds endpoints for creating and updating templates

* Additional bug fixes from testing

* Provider endpoints (#31)

* Adds provider endpoints

* Resets default on provider updates

* Fixes test cases
2022-10-23 14:58:43 -05:00
Chris Anderson
7f0c88206d
Creates framework for generally unsubscribing (#26)
Adds endpoints for inbound sms opt-out
2022-10-07 16:46:50 -07:00
Chris Anderson
6ec0aec44b
Add media storage (#25)
* Adds basic structure for remote storage

* Gets image uploading to a working state

* Adds validator in front of image upload

* Adds delete method for s3 files

* Allow for updating an image

Force name setting

* Fixes test cases
2022-10-07 16:33:10 -07:00
Chris Anderson
d92f7a928a
Push notification support (#23)
* Add Github action to run jest tests

* Change how DB is create

* Starts adding campaign tests

* Fixes imports

* Fixes spy/mocks for test cases

* Tweaks when tests are run

* Adds very basic structure for sending a push notification

* Adds remainder of push notification structure

Adds handling of unsubscribes via token invalidation
Adds potential for adding latency to logger providers for future load testing
2022-10-07 16:27:20 -07:00
Chris Anderson
2daee6127c
Add Github action to run jest tests (#20)
* Add Github action to run jest tests

* Change how DB is create

* Starts adding campaign tests

* Fixes imports

* Fixes spy/mocks for test cases

* Tweaks when tests are run
2022-10-07 16:26:04 -07:00
chrishills
2514dcc53f
Merge pull request #18 from parcelvoy/feat/17/scheduler
Adds a job scheduler to check for journey delays
2022-09-11 13:24:45 -05:00
Chris Anderson
8fcc0f0d6f Adds a job scheduler to check for journey delays
Refactors queues to pull from env vs db
Minor code cleanup
2022-09-11 11:41:35 -05:00
Chris Anderson
daebb3b919
Expand API Endpoints (#13)
* Creates additional endpoints for lists and subscriptions

Adds basic JWT coverage

* Adds basic endpoints for journey and step creation

Fixes test cases

* Minor cleanup

* Adds date helpers for handlebars

Co-authored-by: chrishills <31041837+chrishills@users.noreply.github.com>
2022-09-11 11:39:57 -05:00
chrishills
0525af07c1
Merge pull request #12 from parcelvoy/feat/11/campaigns
Add campaigns and subscriptions
2022-09-10 13:51:24 -05:00
chrishills
386f02a8b8
Merge pull request #10 from parcelvoy/feat/1/env-from-db
Moves ENV to the DB
2022-09-10 09:51:36 -05:00
Chris Anderson
84b394ee64 Re-incorporates the unsubscribe URL 2022-09-06 22:11:25 -05:00
Chris Anderson
27f5acaf67 Fixes unsubscribe url method 2022-09-06 22:08:58 -05:00
Chris Anderson
e30422f05b Minor cleanup 2022-09-06 21:56:02 -05:00
Chris Anderson
e853784705 Cleans up associations between campaign, lists and journeys 2022-09-06 21:49:02 -05:00
Chris Anderson
b6deeb8ded Adds basic subscription group functionality
Refactors campaigns slightly
2022-09-06 21:28:48 -05:00
Chris Anderson
db334f19f5 Shifts to using Campaigns as vessel for sending
Moves lists away from being tied to unsubscriptions
Refactors structure pretty significantly again
Validation cleanup to ensure we are caching schemas
2022-09-05 17:02:26 -05:00
Chris Anderson
24c6b0189a Deletes old env 2022-09-02 22:33:13 -05:00
Chris Anderson
c64d764ba5 Bug fixes from testing 2022-09-02 22:30:55 -05:00
Chris Anderson
42b5c4a9e1 Moves to having all channels and queues be dynamic 2022-09-02 21:35:07 -05:00
Chris Anderson
c31f6259b5 Moves all providers to have their config come from the DB
Refactor of entire structure
2022-09-01 11:37:15 -05:00
chrishills
0941659de2
Merge pull request #8 from parcelvoy/feat/7/add-lists
Add lists
2022-08-22 21:14:53 -05:00
Chris Anderson
29b3f88757 Code cleanup & add migration for user events 2022-08-18 08:05:52 -05:00
Chris Anderson
b3571a858c Updates to get list joining working on user endpoints 2022-08-17 21:10:13 -05:00
Chris Anderson
80848d6958 Adds support for joining list based on updating user 2022-08-17 20:28:02 -05:00
Chris Anderson
a1ca53e3df Create basic list structure
Allow for joining based on incoming events
2022-08-17 20:14:00 -05:00
chrishills
e77c3035c3
Merge pull request #6 from parcelvoy/journeys
Starts laying the groundwork for journeys
2022-08-17 15:01:38 -05:00
Chris Anderson
0873eb4d24 Adds jobs for sending and journeys 2022-08-16 21:08:23 -05:00
Chris Anderson
7426dbd81d Fixes linter issues and adds Github action 2022-08-16 16:51:48 -05:00
Chris Anderson
acc4701e5e Adds new rule engine 2022-08-16 08:00:42 -05:00
Chris Anderson
22b06e1105 Starts laying the groundwork for journeys
Creates gates, entrances and delays for journeys
Refactors structure slightly
Creates repository pattern
Adds model action helpers
Creates Jest tests
Tweaks eslint
2022-08-15 09:14:33 -05:00
Chris Anderson
3ee32c329a
Merge pull request #5 from parcelvoy/client-router-and-jobs
added client router, project api keys, related jobs, fixed memory queue
2022-08-15 09:10:39 -05:00
Chris Hills
42d19e94f3 removed api key logging 2022-08-14 20:27:19 -05:00
Chris Hills
587b98489d catch RequestError in top-level middleware 2022-08-14 20:26:39 -05:00