Commit 9e6b3ac
authored
feat: activity notifications (#31)
* activities (with has_many on_replace: :ignore)
* add more tables, test helpers
add accounts test
* add more user activity attributes
* add Repo.insert_with_activity/2
* add notifier
* rename
* Repo.update/delete_with_activity
* test register github user activities
* add coveralls
* add basic coverage for bounties, chat and reviews and coveralls.json
* remove redundant
* remove ecto fork
* Setup notifier and signal module
Send error signals when failing to link stripe accounts
* account coverage
* update coveralls
* rename
* fetch user activities from nested children
* add notifier job template
* satisfy the dialyzer
format
* filter out bounties without solver when onboarding dev, fix KeyError
* lower Drawer z-index; it was hiding flash messages
* load association for activities
drop transaction activities and 'second' level activities associated
with a user
* use Dataloader for loading activity associations
* add Mox to dev
* add create_session to Stripe SeedImpl
* format
* use map for activity table lookups
* add owned|created_tips to User
* add bounty and tip activities
* test
* add activities dropdown in main nav and on company admin page
* implement Algora.Analytics.get_company_analytics/0-2
* remove transaction activities
* zero not implemented demo data
* add activity redirect controller
* add User#received_tips
* cleanup
* typo
* load target association with Activities.get
* show activities in header
broadcast from Oban job
enqueue email deilvery
add mail templates
* fix merge
* Protocol.UndefinedError for claims when creating tips
* adapt bounty testing to claims
* add on true to inner_lateral_join
* add redirect url to email body
* remove vars from email subjects
* use schema.preload/1
* add claim_submitted and bounty_awarded activities
* add utility for making admins
* remove unused alias
* add mix algora.create_tip
* send email job
* rework activity views
* assert mail job enqueued
* add todos1 parent 72f5d7c commit 9e6b3ac
File tree
93 files changed
+1930
-87
lines changed- config
- lib
- algora_web
- components
- layouts
- ui
- controllers
- live
- activity
- admin
- onboarding
- user
- algora
- accounts
- schemas
- activities
- jobs
- schemas
- views
- admin
- analytics
- bounties
- schemas
- chat/schemas
- contracts
- schemas
- integrations/stripe
- jobs/schemas
- payments
- schemas
- projects/schemas
- reviews/schemas
- workspace/schemas
- mix/tasks/algora
- priv/repo
- migrations
- test
- algora
- support
- mocks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
93 files changed
+1930
-87
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
315 | 325 | | |
316 | 326 | | |
317 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| 73 | + | |
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
81 | 86 | | |
82 | 87 | | |
83 | 88 | | |
| |||
87 | 92 | | |
88 | 93 | | |
89 | 94 | | |
| 95 | + | |
90 | 96 | | |
91 | 97 | | |
92 | 98 | | |
| |||
302 | 308 | | |
303 | 309 | | |
304 | 310 | | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
305 | 315 | | |
306 | 316 | | |
307 | 317 | | |
| |||
0 commit comments