notey 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +20 -0
  3. data/README.md +260 -0
  4. data/Rakefile +11 -0
  5. data/app/assets/stylesheets/notey/application.css +15 -0
  6. data/app/controllers/notey/application_controller.rb +7 -0
  7. data/app/controllers/notey/destinations_controller.rb +23 -0
  8. data/app/controllers/notey/notifications_controller.rb +26 -0
  9. data/app/controllers/notey/preferences_controller.rb +26 -0
  10. data/app/delivery_methods/notey/email.rb +9 -0
  11. data/app/delivery_methods/notey/in_app.rb +12 -0
  12. data/app/helpers/notey/application_helper.rb +4 -0
  13. data/app/jobs/notey/application_job.rb +4 -0
  14. data/app/jobs/notey/digest_job.rb +9 -0
  15. data/app/mailers/notey/application_mailer.rb +6 -0
  16. data/app/mailers/notey/digest_mailer.rb +12 -0
  17. data/app/mailers/notey/notification_mailer.rb +11 -0
  18. data/app/models/concerns/notey/notifier.rb +19 -0
  19. data/app/models/concerns/notey/recipient.rb +23 -0
  20. data/app/models/notey/application_record.rb +5 -0
  21. data/app/models/notey/attempt.rb +7 -0
  22. data/app/models/notey/current.rb +7 -0
  23. data/app/models/notey/destination.rb +11 -0
  24. data/app/models/notey/digest.rb +7 -0
  25. data/app/models/notey/kept.rb +9 -0
  26. data/app/models/notey/notification.rb +43 -0
  27. data/app/models/notey/preference.rb +21 -0
  28. data/app/models/notey/refusal.rb +13 -0
  29. data/app/models/notey/save_destination.rb +37 -0
  30. data/app/models/notey/save_my_destination.rb +11 -0
  31. data/app/models/notey/save_preferences.rb +37 -0
  32. data/app/views/notey/_destinations.html.erb +13 -0
  33. data/app/views/notey/_my_destinations.html.erb +12 -0
  34. data/app/views/notey/_preferences.html.erb +25 -0
  35. data/app/views/notey/destinations/show.html.erb +7 -0
  36. data/app/views/notey/digest_mailer/digest.html.erb +8 -0
  37. data/app/views/notey/notification_mailer/notification.html.erb +6 -0
  38. data/app/views/notey/notifications/index.html.erb +17 -0
  39. data/app/views/notey/preferences/show.html.erb +7 -0
  40. data/config/routes.rb +5 -0
  41. data/db/migrate/20260917000002_create_notey_preferences.rb +17 -0
  42. data/db/migrate/20260918020001_add_digest_window_to_notey_preferences.rb +7 -0
  43. data/db/migrate/20260918030002_create_notey_digests.rb +20 -0
  44. data/db/migrate/20260918050001_create_notey_destinations.rb +16 -0
  45. data/db/migrate/20260918060001_index_digest_window_on_notey_preferences.rb +7 -0
  46. data/db/migrate/20260919010001_add_member_to_notey_destinations.rb +11 -0
  47. data/db/migrate/20260921000001_create_notey_attempts.rb +16 -0
  48. data/lib/notey/catalog.rb +51 -0
  49. data/lib/notey/channels.rb +41 -0
  50. data/lib/notey/destinations.rb +11 -0
  51. data/lib/notey/digest_run.rb +73 -0
  52. data/lib/notey/engine.rb +20 -0
  53. data/lib/notey/event_delivery.rb +14 -0
  54. data/lib/notey/inbox.rb +11 -0
  55. data/lib/notey/records_attempt.rb +37 -0
  56. data/lib/notey/version.rb +3 -0
  57. data/lib/notey.rb +166 -0
  58. data/lib/tasks/notey_tasks.rake +4 -0
  59. data/the_local/agents/notey-develop.md +178 -0
  60. data/the_local/agents/notey-info.md +80 -0
  61. data/the_local/agents/notey-install.md +191 -0
  62. data/the_local/interface.yml +52 -0
  63. metadata +159 -0
metadata ADDED
@@ -0,0 +1,159 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: notey
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - tylercschneider
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: rails
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '8.1'
19
+ - - "<"
20
+ - !ruby/object:Gem::Version
21
+ version: '9'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: '8.1'
29
+ - - "<"
30
+ - !ruby/object:Gem::Version
31
+ version: '9'
32
+ - !ruby/object:Gem::Dependency
33
+ name: noticed
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ">="
37
+ - !ruby/object:Gem::Version
38
+ version: '3.0'
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: '3.0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: keystone_ui
48
+ requirement: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0.9'
53
+ type: :runtime
54
+ prerelease: false
55
+ version_requirements: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '0.9'
60
+ description: Notey is the notification layer for multi-tenant apps. Noticed delivers
61
+ a notification on whatever channels a notifier declares; Notey stores which channels
62
+ each person wants per notification type, gives them screens to set that, scopes
63
+ an inbox to the account they are in, and groups notifications into digests instead
64
+ of sending each one as it happens.
65
+ email:
66
+ - tylercschneider@gmail.com
67
+ executables: []
68
+ extensions: []
69
+ extra_rdoc_files: []
70
+ files:
71
+ - LICENSE.txt
72
+ - README.md
73
+ - Rakefile
74
+ - app/assets/stylesheets/notey/application.css
75
+ - app/controllers/notey/application_controller.rb
76
+ - app/controllers/notey/destinations_controller.rb
77
+ - app/controllers/notey/notifications_controller.rb
78
+ - app/controllers/notey/preferences_controller.rb
79
+ - app/delivery_methods/notey/email.rb
80
+ - app/delivery_methods/notey/in_app.rb
81
+ - app/helpers/notey/application_helper.rb
82
+ - app/jobs/notey/application_job.rb
83
+ - app/jobs/notey/digest_job.rb
84
+ - app/mailers/notey/application_mailer.rb
85
+ - app/mailers/notey/digest_mailer.rb
86
+ - app/mailers/notey/notification_mailer.rb
87
+ - app/models/concerns/notey/notifier.rb
88
+ - app/models/concerns/notey/recipient.rb
89
+ - app/models/notey/application_record.rb
90
+ - app/models/notey/attempt.rb
91
+ - app/models/notey/current.rb
92
+ - app/models/notey/destination.rb
93
+ - app/models/notey/digest.rb
94
+ - app/models/notey/kept.rb
95
+ - app/models/notey/notification.rb
96
+ - app/models/notey/preference.rb
97
+ - app/models/notey/refusal.rb
98
+ - app/models/notey/save_destination.rb
99
+ - app/models/notey/save_my_destination.rb
100
+ - app/models/notey/save_preferences.rb
101
+ - app/views/notey/_destinations.html.erb
102
+ - app/views/notey/_my_destinations.html.erb
103
+ - app/views/notey/_preferences.html.erb
104
+ - app/views/notey/destinations/show.html.erb
105
+ - app/views/notey/digest_mailer/digest.html.erb
106
+ - app/views/notey/notification_mailer/notification.html.erb
107
+ - app/views/notey/notifications/index.html.erb
108
+ - app/views/notey/preferences/show.html.erb
109
+ - config/routes.rb
110
+ - db/migrate/20260917000002_create_notey_preferences.rb
111
+ - db/migrate/20260918020001_add_digest_window_to_notey_preferences.rb
112
+ - db/migrate/20260918030002_create_notey_digests.rb
113
+ - db/migrate/20260918050001_create_notey_destinations.rb
114
+ - db/migrate/20260918060001_index_digest_window_on_notey_preferences.rb
115
+ - db/migrate/20260919010001_add_member_to_notey_destinations.rb
116
+ - db/migrate/20260921000001_create_notey_attempts.rb
117
+ - lib/notey.rb
118
+ - lib/notey/catalog.rb
119
+ - lib/notey/channels.rb
120
+ - lib/notey/destinations.rb
121
+ - lib/notey/digest_run.rb
122
+ - lib/notey/engine.rb
123
+ - lib/notey/event_delivery.rb
124
+ - lib/notey/inbox.rb
125
+ - lib/notey/records_attempt.rb
126
+ - lib/notey/version.rb
127
+ - lib/tasks/notey_tasks.rake
128
+ - the_local/agents/notey-develop.md
129
+ - the_local/agents/notey-info.md
130
+ - the_local/agents/notey-install.md
131
+ - the_local/interface.yml
132
+ homepage: https://github.com/DYB-Development/notey
133
+ licenses:
134
+ - MIT
135
+ metadata:
136
+ allowed_push_host: https://rubygems.org
137
+ homepage_uri: https://github.com/DYB-Development/notey
138
+ source_code_uri: https://github.com/DYB-Development/notey
139
+ changelog_uri: https://github.com/DYB-Development/notey/blob/main/CHANGELOG.md
140
+ bug_tracker_uri: https://github.com/DYB-Development/notey/issues
141
+ rubygems_mfa_required: 'true'
142
+ rdoc_options: []
143
+ require_paths:
144
+ - lib
145
+ required_ruby_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: 3.2.0
150
+ required_rubygems_version: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - ">="
153
+ - !ruby/object:Gem::Version
154
+ version: '0'
155
+ requirements: []
156
+ rubygems_version: 4.0.20
157
+ specification_version: 4
158
+ summary: Notification preferences, in-app inbox and digests over Noticed
159
+ test_files: []