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

Fix typos with source code spell checker #4871

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5906 commits
Select commit Hold shift + click to select a range
96e6494
Remove pick_up_person trait
norrismei Oct 4, 2024
da73e52
Merge branch 'main' into 4406-add-print-picklists
norrismei Oct 4, 2024
dd128f1
draft inventory section
cielf Sep 25, 2024
872e378
build(deps): bump redis from 5.2.0 to 5.3.0 (#4626)
dependabot[bot] Oct 6, 2024
56f2aaf
4655: [BUG] If you have an error on entering a partner group, the Ite…
victorhwmn Oct 6, 2024
ac6d2dd
build(deps): bump puma from 6.4.2 to 6.4.3 (#4698)
dependabot[bot] Oct 6, 2024
e25930a
4516 fix child requests for inactive children (#4699)
SansSeryph Oct 6, 2024
2167ecc
Merge pull request #4670 from lit-poks/fix/distribution-enum-state-to…
cielf Oct 6, 2024
b66bda3
Add partner group to organization. Add new partner for seed
lit-poks Oct 7, 2024
7063c25
add new partner Second Street Community Outreach to group 2
lit-poks Oct 7, 2024
7c976f0
update additional partner group in contributing.md
lit-poks Oct 9, 2024
a915cf2
Atleast one inactive item in an organization
lit-poks Oct 9, 2024
6e35a45
4672-Header-Alignment-on-all-things
inane-pixel Oct 9, 2024
fc3ee6e
Merge pull request #4708 from lit-poks/seeds/partner-group-2
cielf Oct 10, 2024
05894c9
Add annotation to rendered views for easier development (#4709)
edwinthinks Oct 10, 2024
10da9e4
Resolves #4677 - Require Business Name for Vendors (#4704)
cassieemb Oct 10, 2024
2560e98
Change button from 'Promote to Admin' to 'Edit User' (#4701)
leslie-seeberger Oct 10, 2024
89ee8a0
Add a link to Import Partners on the dashboard getting started sectio…
Oct 11, 2024
5d71eba
Merge branch 'main' into 4333-remove-inventory-items
dorner Oct 11, 2024
ca7cdda
Add view password functionality to login form (#4714)
princekumarg12 Oct 11, 2024
aceff78
Add items method
dorner Oct 11, 2024
d030133
fixes
dorner Oct 11, 2024
6a79219
more fixes
dorner Oct 11, 2024
114d740
exports
cielf Oct 7, 2024
3c744e7
Merge branch 'rubyforgood:main' into main
inane-pixel Oct 11, 2024
759ad52
Merge pull request #4706 from cielf/user-docs-cont-v
awwaiid Oct 12, 2024
d9bf0f1
Merge pull request #4718 from cielf/user-docs-cont-vi
awwaiid Oct 12, 2024
474cff5
Inactive item and discarded storage location to have 0 inventory
lit-poks Oct 11, 2024
cd694ba
Merge branch 'main' into seed/inactive-location-and-items
lit-poks Oct 13, 2024
2adf967
renames diaper acquisition to diapers
sbpipb Oct 3, 2024
ebc6098
lint fixes
sbpipb Oct 3, 2024
a2936d9
lint fix
sbpipb Oct 3, 2024
21212f7
change test assertion to check h1 tag
sbpipb Oct 13, 2024
12ea168
Merge branch 'rubyforgood:main' into main
inane-pixel Oct 13, 2024
7accbb4
Merge branch 'main' into 4406-add-print-picklists
awwaiid Oct 13, 2024
e198487
Merge pull request #4598 from norrismei/4406-add-print-picklists
awwaiid Oct 13, 2024
cd45dea
continuing with fixes sir!
dorner Oct 13, 2024
9b2add4
why did I do that
dorner Oct 13, 2024
592d8ca
or this?
dorner Oct 13, 2024
18605c1
moar fixes
dorner Oct 13, 2024
a79879f
lint fixes
dorner Oct 13, 2024
3b4f9a7
fix
dorner Oct 13, 2024
e1bbb87
flaky spec
dorner Oct 13, 2024
849fc16
remove unneeded if
dorner Oct 13, 2024
a5dec8f
more fix
dorner Oct 13, 2024
7487ae1
Merge pull request #4702 from sbpipb/4686_rename_report_diaper_acquis…
cielf Oct 14, 2024
c72d0d2
Merge pull request #4713 from lit-poks/seed/inactive-location-and-items
cielf Oct 14, 2024
3b73649
Improve confirmation text when saving new audit
tatheerf02 Oct 14, 2024
eb64b0d
Display units in distribution PDF as needed (#4610)
awwaiid Oct 14, 2024
0f454c1
Resolves #4689 - Update seeds: mark users `invitation_status` as "acc…
lsfernandes92 Oct 14, 2024
70ddda6
Remove methods and test set up to calculate per person per month
jadekstewart3 Oct 15, 2024
e8a350e
Merge pull request #4721 from tatheerf02/4633-audit-confirmation-text
cielf Oct 16, 2024
d85f58e
Add RDS backup script
dorner Oct 20, 2024
096d432
Use new filename
dorner Oct 20, 2024
d6323d6
fix lint
dorner Oct 20, 2024
5fd2670
Fix bug where org_admins couldn't promote users
coalest Oct 22, 2024
984c5ce
Display errors taking place during import partner process (#4707)
jp524 Oct 22, 2024
18a0671
Remove system specs and add back edit link for super admins
coalest Oct 22, 2024
1f006bb
Merge branch 'rubyforgood:main' into main
inane-pixel Oct 22, 2024
709acd2
4672-header-alginment
inane-pixel Oct 22, 2024
a88ea47
fixed csv export for donation sites + tests
Nisuha Oct 23, 2024
d2965b7
Merge pull request #4582 from jadekstewart3/4238_period_supplies
cielf Oct 23, 2024
0046bca
Merge branch 'rubyforgood:main' into 4681-donation-sites-export-csv
Nisuha Oct 23, 2024
a431ede
Merge pull request #4729 from coalest/4724-fix-org-admin-promote-user…
cielf Oct 23, 2024
1fd0534
4672 Fix lint test
inane-pixel Oct 23, 2024
78df199
Merge pull request #4730 from inane-pixel/4672-header-alignment
cielf Oct 23, 2024
c1c37db
Remove underlining from required stars
coalest Oct 25, 2024
2cb5f8f
Fix edit distribution radio button misalignment on Firefox
coalest Oct 25, 2024
fdde90d
Remove green text color for radio buttons in form edit
coalest Oct 25, 2024
b85f38f
Merge pull request #4735 from coalest/minor-css-improvements
cielf Oct 25, 2024
a475613
First pass on words complete
cielf Oct 14, 2024
8569463
starting into TODOs; style guide (mostly for own reference for now)
cielf Oct 25, 2024
e726646
Merge pull request #4725 from rubyforgood/clock-backup
awwaiid Oct 26, 2024
ab00a48
Merge pull request #4736 from cielf/user-docs-cont-vii
awwaiid Oct 26, 2024
b9911f8
Merge pull request #4732 from Nisuha/4681-donation-sites-export-csv
awwaiid Oct 27, 2024
69cd788
Fix scanning new barcode item issue (#4592) (#4731)
coalest Oct 27, 2024
7b12c96
Prevent deletion of items that are part of a request (#4734)
jorgecoutinhobr Oct 27, 2024
cdf9a25
Clock backup fix (#4748)
awwaiid Oct 28, 2024
2f0f9be
Update date range in application.js and date_range_picker_shared_exam…
jorgecoutinhobr Oct 28, 2024
426ab43
add two_years_ahead date option in date range picker to ensure test w…
jorgecoutinhobr Oct 28, 2024
09e5306
Fix typo
wanguiwaweru Oct 29, 2024
c23237f
Merge pull request #4750 from jorgecoutinhobr/4743-extend-all-time-da…
cielf Oct 29, 2024
50d190b
Merge pull request #4751 from wanguiwaweru/4747-fix-typo
cielf Oct 29, 2024
ae0844b
Allow Organization and Partner Profile edit when associated records h…
jp524 Oct 30, 2024
495c362
Validate issued_at field to prevent future dates further than 1 year …
tatheerf02 Oct 30, 2024
ff6bc81
build(deps-dev): bump erb_lint from 0.6.0 to 0.7.0 (#4756)
dependabot[bot] Nov 1, 2024
c354f44
build(deps-dev): bump rubocop-performance from 1.21.1 to 1.22.1 (#4757)
dependabot[bot] Nov 1, 2024
47e4081
build(deps): bump terser from 1.2.3 to 1.2.4 (#4759)
dependabot[bot] Nov 1, 2024
d0813c4
build(deps): bump flipper from 1.3.0 to 1.3.1 (#4761)
dependabot[bot] Nov 1, 2024
ffd2538
build(deps): bump flipper-ui from 1.3.0 to 1.3.1 (#4762)
dependabot[bot] Nov 1, 2024
22482a1
build(deps): bump rails from 7.1.3.4 to 7.2.2
dependabot[bot] Nov 1, 2024
bf505f0
Resolves #4740 - Add new default date range (#4752)
jorgecoutinhobr Nov 1, 2024
42ebbc5
build(deps): bump delayed_job_active_record from 4.1.8 to 4.1.10 (#4758)
dependabot[bot] Nov 1, 2024
6532312
fixes and updates for Rails 7.2
dorner Nov 1, 2024
9d89d9f
fix lint
dorner Nov 1, 2024
88cf069
working on todos
cielf Oct 27, 2024
289f0bd
undid one ready for review
cielf Nov 2, 2024
604dd8f
addressed enough more to get down to 50% of all todos. That's it for…
cielf Nov 2, 2024
728beb5
CR fixes
dorner Nov 3, 2024
8bb7555
fix https://github.com/rails/rails/issues/52643
dorner Nov 3, 2024
4d5955d
fixes
dorner Nov 3, 2024
994741b
oops
dorner Nov 3, 2024
633f621
fix
dorner Nov 3, 2024
cf5ed2d
[#4504] Add step-wise partner profile edit form:
danielabar Aug 24, 2024
81adeb2
Fix for village diaper bank kit/item problem
cielf Nov 6, 2024
c839237
Merge branch 'main' into 4333-remove-inventory-items
dorner Nov 6, 2024
7b5a02d
Add new purchase information on summary report view (#4723)
manuel1280 Nov 7, 2024
b4bfe12
Merge pull request #4767 from cielf/fix_village_diaper_bank_issue
cielf Nov 7, 2024
9099633
Merge pull request #4607 from rubyforgood/4333-remove-inventory-items
cielf Nov 7, 2024
73afb49
Work on partner statuses and addition
cielf Nov 7, 2024
d2b8ae8
More work on partners
cielf Nov 7, 2024
1639c22
Inventory Adjustments
cielf Nov 8, 2024
6e4d683
Transfers
cielf Nov 8, 2024
7a02963
Community
cielf Nov 8, 2024
38bb4f6
Merge pull request #4764 from cielf/user_docs_cont_viii
awwaiid Nov 8, 2024
0ab0247
[#4504] PR feedback - use class level method for section error service
danielabar Nov 9, 2024
c9f971c
[#4504] PR feedback: specify feature flag disabled for test that expe…
danielabar Nov 9, 2024
70656b8
[#4504] PR feedback: extract partial for accordion section
danielabar Nov 9, 2024
266909e
undo what are now whitespace only changes from original solution whic…
danielabar Nov 10, 2024
83138dc
[#4504] PR feedback: remove approval disabled when form in error state
danielabar Nov 10, 2024
f0d51b2
4765: Go back to default Rails error handling
dorner Nov 10, 2024
2f76ab9
Merge pull request #4774 from rubyforgood/4765-fix-500-error-on-404
awwaiid Nov 11, 2024
00020c5
exports and summary reports. Rewording on intro
cielf Nov 11, 2024
60a7d69
Remaining reports work, user management
cielf Nov 11, 2024
a992b68
Remaining reports work, user management
cielf Nov 11, 2024
4c64a10
Most of Inventory- Items
cielf Nov 12, 2024
29a8613
Fix SCDB's issue with event history -- duplicate distribution. (#4777)
cielf Nov 12, 2024
bb16db0
HOTFIX -- slight mistake in distribution ID
awwaiid Nov 13, 2024
7e1f3ab
[#4504] replace Submit for Approval link with Save and Review button
danielabar Nov 13, 2024
adee5fb
Merge pull request #4778 from rubyforgood/production
cielf Nov 13, 2024
a64b378
Work on inventory items and storage locations
cielf Nov 13, 2024
633131b
Finished organization
cielf Nov 13, 2024
670d1f8
improve error message for nil client share
McEileen Nov 15, 2024
5cd8279
modify partner profile update service spec to reflect new error message
McEileen Nov 15, 2024
43d68a5
Just plugging away at the TODOs
cielf Nov 14, 2024
59ba500
4523: Fix user info disappearing on validation failure for new org re…
coalest Nov 16, 2024
c30cfc1
Merge pull request #4766 from danielabar/4504-partner-profile-step-form
cielf Nov 17, 2024
3a14622
Use standard out logger instead of system echo (#4787)
dorner Nov 17, 2024
bca2062
Merge pull request #4785 from cielf/user_docs_cont_IX
awwaiid Nov 17, 2024
cbf8138
Merge pull request #4784 from McEileen/4673/improve-client-share-erro…
cielf Nov 20, 2024
3585dab
Add 2 weeks expiration for user invitation
pepetorres1998 Nov 20, 2024
e54389f
Update user invite instructions spec for 2 weeks duration
pepetorres1998 Nov 20, 2024
c58d5f0
Update email password reset instructions to its actual expiration tim…
pepetorres1998 Nov 20, 2024
15f5836
Update password expiration spec
pepetorres1998 Nov 20, 2024
b660cd1
Trend reports are based on distribution/donation/purchase issued date…
jp524 Nov 21, 2024
241a809
add unicity on low inventory query items returned (#4782)
nikolaz90 Nov 21, 2024
005ef46
Product totals - custom units (#4609)
awwaiid Nov 22, 2024
5d722f3
4780: Fix item lookup issues on new kit page (#4781)
coalest Nov 22, 2024
1fad4db
4745: Disable deactivate button for storage locations not deactivatab…
coalest Nov 22, 2024
3788e05
Resolves #4675 Add year to month labels on trend reports (#4793)
Benjamin-Couey Nov 22, 2024
abb659c
update the email that partners get when they are approved (#4795)
spudoodle Nov 22, 2024
f0c3b2c
Add reminder deadline job and backup RDS
dorner Nov 24, 2024
70f49a2
Lint + brakeman ignore
dorner Nov 24, 2024
9fadf95
Add log
dorner Nov 24, 2024
bcb35b3
Merge pull request #4798 from rubyforgood/reminder-deadline
awwaiid Nov 24, 2024
d38ac65
fix
dorner Nov 24, 2024
9ccdd2a
Fix brakeman ignore
dorner Nov 24, 2024
398d0c8
Merge pull request #4800 from rubyforgood/reminder-deadline
awwaiid Nov 24, 2024
a75e407
4653: Permit :date_range filter param in DistributionsController#inde…
coalest Nov 27, 2024
db51fd5
[#4789] add step-wise editing for banks view of partner profile (#4799)
danielabar Nov 27, 2024
6ffeaa1
Bank Org Request Export - Include Custom Units (#4608)
awwaiid Nov 27, 2024
2c6ef9a
Add reset instructions if invitation has expired
pepetorres1998 Nov 27, 2024
fbd1129
Add correct expiration message
pepetorres1998 Nov 27, 2024
4cefaf4
4788 - Fixing Partner Message On Invite Email (#4805)
Naraveni Nov 28, 2024
48e3dfc
Merge branch 'main' into 4773-reset-password-and-invitation-expiry
cielf Nov 29, 2024
7dd3546
Merge pull request #4796 from pepetorres1998/4773-reset-password-and-…
cielf Nov 29, 2024
9e92b76
Add `[DO NOT REPLY]` to accounts email for mailers
Sukhpreet-s Nov 26, 2024
9ec9162
Add more date range selection options #4518 (#4533)
pshong79 Nov 30, 2024
1c2626f
Move Transfer.storage_locations_transferred_to/from_in to StorageLoca…
coalest Nov 30, 2024
6b94fd2
[#4807] Help partner to remember to submit profile for approval: (#4808)
danielabar Nov 30, 2024
f9d7317
move to delayed job (#4809)
dorner Dec 1, 2024
449dbfc
Fix flaky distributions by county spec (#4816)
coalest Dec 2, 2024
6cb6c12
Merge branch 'main' into 4521-update-name-for-accounts-email
cielf Dec 2, 2024
5504ef8
Merge pull request #4803 from Sukhpreet-s/4521-update-name-for-accoun…
cielf Dec 2, 2024
c6e49d1
Fix transfer InventoryError during db seed
coalest Dec 5, 2024
31ad38a
Merge pull request #4830 from coalest/fix-db-seed-transfer-flakiness
cielf Dec 5, 2024
85d88f8
first commit
MichaScant Dec 9, 2024
0276b81
Make purchase helper pick default storage location (#4722)
lenikadali Dec 10, 2024
3c5c1ed
Add missing kit rspecs, DRY up kit base items and report service (#4665)
jimmyli97 Dec 10, 2024
2453b83
Fix inventory quantity errors to be tied to organization, not storag…
McEileen Dec 10, 2024
6cc9600
Fix distribution filtering by category bug and refactor for performan…
coalest Dec 10, 2024
7e867cf
Fix time zone flakiness in distribution by county specs (#4825)
coalest Dec 10, 2024
62ae6b9
4175 add request type flag (#4827)
coalest Dec 10, 2024
257f330
Remove redundant db indexes (#4828)
coalest Dec 10, 2024
4c0a5e1
Partner Profile : clean up social media, request types and pick up em…
cielf Dec 10, 2024
4ba486f
build(deps-dev): bump bullet from 7.2.0 to 8.0.0 (#4811)
dependabot[bot] Dec 10, 2024
45d68e6
build(deps): bump flipper-active_record from 1.3.0 to 1.3.2 (#4812)
dependabot[bot] Dec 10, 2024
eb20856
build(deps): bump coverband from 6.1.2 to 6.1.4 (#4815)
dependabot[bot] Dec 10, 2024
09b6c78
build(deps): bump newrelic_rpm from 9.13.0 to 9.16.0 (#4810)
dependabot[bot] Dec 10, 2024
5325752
Perf: refactor DistributionsByCountry#report using raw SQL query
coalest Dec 10, 2024
911148a
Add diapers indicator to partner export
Sukhpreet-s Dec 10, 2024
2a28dff
Fix query spec
coalest Dec 10, 2024
45869cd
Add indicator for period supplies in partner export
Sukhpreet-s Dec 10, 2024
c541598
create item using appropriate base item
Sukhpreet-s Dec 10, 2024
857e9c6
Show all active partners on distributions page unrestricted by filter…
coalest Dec 10, 2024
887ea5b
adding partner_step_form to seed so it will be in place for staging a…
cielf Dec 10, 2024
aaf04ea
Only use distributions issued in the last 12 months
Sukhpreet-s Dec 11, 2024
194098e
Add tests for `diapers` and `period_supplies` scope
Sukhpreet-s Dec 11, 2024
ed40a87
Add tests for `in_last_12_months` scope
Sukhpreet-s Dec 11, 2024
2e9bd85
Refactor after review
coalest Dec 11, 2024
b59c6e1
Fix flaky query spec
coalest Dec 11, 2024
4ba608b
Update test to use 1 day before 12 months
Sukhpreet-s Dec 11, 2024
9e42868
fixed lint error
MichaScant Dec 11, 2024
48fe6a6
Merge branch 'main' of https://github.com/MichaScant/human-essentials…
MichaScant Dec 11, 2024
2437bac
Merge pull request #4837 from MichaScant/no_allow_deletion_of_kit_items
cielf Dec 12, 2024
5cf287c
Adding counties to partner export for NDBN reporting (#4840)
cielf Dec 13, 2024
c2c96ac
[#4594] allow zero inventory items to be selected for audit (#4833)
danielabar Dec 13, 2024
7f98fb4
Fix Distribution#new,#create,#edit to only show active items (#4848)
coalest Dec 13, 2024
9f4870c
Merge remote-tracking branch 'upstream/main' into 3067-add-indicator-…
Sukhpreet-s Dec 13, 2024
1620efb
Fix failing tests because of array indices
Sukhpreet-s Dec 13, 2024
2863c5d
Merge pull request #4843 from Sukhpreet-s/3067-add-indicator-fields-t…
cielf Dec 13, 2024
06366bc
Merge branch 'main' into improve-distributions-by-country-report-perf…
coalest Dec 13, 2024
deb5248
Allow linting subset of files with bin/lint and fix deprecation error…
coalest Dec 14, 2024
8651cbe
Add bootsnap (#4853)
coalest Dec 14, 2024
f2c01b7
Resolves #4818 Fix print feature for product drive with no participan…
gabeparra01 Dec 14, 2024
873d76c
fix number of purchases appearing on paginated purchases (#4854)
cielf Dec 14, 2024
933e7b6
Resolves #4686 add another bank to seed (#4826)
Benjamin-Couey Dec 14, 2024
8d33322
Fix default location PR
dorner Dec 15, 2024
3144a33
fixy
dorner Dec 15, 2024
04bd566
fix spec
dorner Dec 15, 2024
b0cd70d
Merge pull request #4855 from rubyforgood/fix-default-location
awwaiid Dec 15, 2024
3737d8c
Merge remote-tracking branch 'origin/main' into dependabot/bundler/ra…
awwaiid Dec 15, 2024
a4b5f05
Merge pull request #4753 from rubyforgood/dependabot/bundler/rails-7.2.2
awwaiid Dec 15, 2024
6358293
Fix join clause in SQL query
coalest Dec 16, 2024
e2d4fe1
Change query spec to be closer to original spec
coalest Dec 16, 2024
0e18f5f
Fix unexpected issued_at behavior when date field empty. (#4849)
coalest Dec 18, 2024
a6325b1
Fix unitialized money_rails constant error (#4851)
coalest Dec 18, 2024
147d1a3
Refactor out for_families attribute from FamilyRequestCreateService (…
coalest Dec 18, 2024
7902baa
Fix flaky ExportCreateService spec (#4862)
coalest Dec 18, 2024
7b8a765
Migration for partner agency cleanup re issue 4241. Necessary step, …
cielf Dec 18, 2024
484c868
Update delayed_job (#4864)
coalest Dec 18, 2024
a828fd6
Fix typos with source code spell checker
coalest Dec 19, 2024
34a2d27
Fix spec after typo fix
coalest Dec 19, 2024
9b9edc5
Rename fixture_path to fixtures_path to fix deprecation warning (#4866)
coalest Dec 19, 2024
b53dd2e
Fix flaky family requests system spec (#4867)
coalest Dec 19, 2024
c360700
build(deps-dev): bump factory_bot_rails from 6.4.3 to 6.4.4 and puma …
dependabot[bot] Dec 19, 2024
83703e9
Remove duplicate donation system spec (#4863)
coalest Dec 19, 2024
d653a42
Fix missing partner dropdown options of distribution update fail (#4868)
coalest Dec 19, 2024
1be08bd
Fix flaky distribution system specs (#4869)
coalest Dec 19, 2024
2b213f2
Fix flaky partners requests request spec (#4870)
coalest Dec 19, 2024
9febed7
lowered pagination threshold in dev and staging using kaminari (#4865)
k8port Dec 19, 2024
483a402
Data fix mhm and aad request distribution link and fulfilled status (…
cielf Dec 20, 2024
f9b076c
Perf: Refactor dashboard index page (#4874)
coalest Dec 20, 2024
0437215
build(deps-dev): bump rubocop from 1.65.1 to 1.69.2 (#4814)
dependabot[bot] Dec 20, 2024
ffbcb61
Fix flaky admin users system spec (#4875)
coalest Dec 20, 2024
34b66dd
Merge pull request #4841 from coalest/improve-distributions-by-countr…
cielf Dec 20, 2024
73dd428
Fix add new organization button placement
coalest Dec 21, 2024
19d6519
Merge branch 'main' into fix-typos-with-source-code-spell-checker
coalest Dec 21, 2024
1f1f7ec
Add back filed removed from git history
coalest Dec 21, 2024
5bd2ebf
Merge branch 'main' into fix-typos-with-source-code-spell-checker
coalest Dec 21, 2024
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
2 changes: 1 addition & 1 deletion app/controllers/partners_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Provides full CRUD for Partners. These are minimal representations of corresponding Partner records in PartnerBase.
# Though the functionality of Partners is actually fleshed out in PartnerBase, in HumanEssentails, we maintain a collection
# Though the functionality of Partners is actually fleshed out in PartnerBase, in HumanEssentials, we maintain a collection
# of which Partners are associated with which Diaperbanks.
class PartnersController < ApplicationController
include Importable
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/transfers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def destroy
results = transfer_destroy_service.call

if results.success?
flash[:notice] = "Succesfully deleted Transfer ##{params[:id]}!"
flash[:notice] = "Successfully deleted Transfer ##{params[:id]}!"
else
flash[:error] = results.error.message
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ export default class extends Controller {
static targets = [ "nestedElement", "checkbox" ]

connect() {
this.toggleNestedElementVisiblity()
this.toggleNestedElementVisibility()
}

/**
* Toggles the visibility of the nested element depending
* on wither the checkbox is checked or not.
*/
toggleNestedElementVisiblity() {
toggleNestedElementVisibility() {
this.nestedElementTarget.classList.toggle("d-none", !this.checkboxTarget.checked)
}

Expand Down
2 changes: 1 addition & 1 deletion app/models/item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class Item < ApplicationRecord
# 4/ Period supplies. All things with 'menstrual in the category'
# 5/ Other -- Miscellaneous, and wipes
# Known holes and ambiguities as of 20240527. Working on these with the business
# 1/ Liners. We are adding a new item for AI liners, and renaming the current liners to be specficially for periods,
# 1/ Liners. We are adding a new item for AI liners, and renaming the current liners to be specifically for periods,
# having confirmed with the business that the majority of liners are for menstrual use.
# However, there is a product which can be used for either, so we are still sussing out what to do about that.

Expand Down
4 changes: 2 additions & 2 deletions app/models/partners/child.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class Child < Base
scope :from_family, ->(family_id) {
where(family_id: family_id)
}
scope :from_children, ->(chidren_id) {
where(id: chidren_id)
scope :from_children, ->(children_id) {
where(id: children_id)
}
scope :active, -> { where(active: true) }

Expand Down
2 changes: 1 addition & 1 deletion app/services/distribution_totals_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def calculate_quantities(distributions)
.to_h
end

# Returns hash of total value of items per distribution WIHOUT item id/category filter
# Returns hash of total value of items per distribution WITHOUT item id/category filter
# Value of entire distribution (not reduced by filtered items)
#
# @return [Hash<Integer, Integer>]
Expand Down
2 changes: 1 addition & 1 deletion app/services/exports/export_request_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def compute_item_headers
end

# Adding this to handle cases in which a requested item
# has been deleted. Normally this wouldn't be neccessary,
# has been deleted. Normally this wouldn't be necessary,
# but previous versions of the application would cause
# this orphaned data
item_names.sort.uniq << DELETED_ITEMS_COLUMN_HEADER
Expand Down
2 changes: 1 addition & 1 deletion app/services/service_object_errors_mixin.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module ServiceObjectErrorsMixin
#
# This module is can be included into service object like
# classes so that they get the similiar interface commonly used
# classes so that they get the similar interface commonly used
# by active records. Here is an example of a how you could interact
# with a service object with this included.
#
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/organizations/index.html.erb
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noting the ones that look like they could have an effect on behaviour at this time. This one.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="col-3">
<%= render_filterrific_spinner %>
</div>
<div clas="col-9">
<div class="col-12">
<div class="float-right">
<%= new_button_to new_admin_organization_path, { text: "Add New Organization" } %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/distributions/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
<%= print_button_to print_distribution_path(@distribution, format: :pdf), {size: "md"} %>
</div>
<% if @distribution.has_inactive_item? %>
<div class="low_prioirty_warning">
<div class="low_priority_warning">
You can only correct distributions where all the items are active.
If you need to make a correction, please make the following items active: <%= @distribution.inactive_items.map(&:name).join(", ") %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/kits/allocations.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@

let baseQuantity = rowElement.attr('data-base-quantity');
// Utilize the -1 to properly make the base kit item
// go negative when the content goes postive
// go negative when the content goes positive
let newText = -1 * changeBy * baseQuantity
rowElement.text(newText);

Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application_old.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<a href="<%= root_path %>" class="logo">
<% end %>
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><img src="/img/diaper-base-logo-icon.svg" alt="Essentails Logo (icon)" title="Human Essentials">
<span class="logo-mini"><img src="/img/diaper-base-logo-icon.svg" alt="Essentials Logo (icon)" title="Human Essentials">
</span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg"><%= image_tag "/img/essentials.svg", alt: "Human Essentials Logo", id: "logo" %></span>
Expand Down
2 changes: 1 addition & 1 deletion app/views/partner_groups/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<div class='mt-3' data-controller='checkbox-with-nested-element'>
<h2 class='text-bold text-lg'>Do you want to send deadline reminders to them every month?</h2>
<%= f.input :send_reminders, as: :boolean, label: "Yes", input_html: { data: { action: 'click->checkbox-with-nested-element#toggleNestedElementVisiblity', 'checkbox-with-nested-element-target': 'checkbox' } } %>
<%= f.input :send_reminders, as: :boolean, label: "Yes", input_html: { data: { action: 'click->checkbox-with-nested-element#toggleNestedElementVisibility', 'checkbox-with-nested-element-target': 'checkbox' } } %>

<div class='pl-5 d-none' data-checkbox-with-nested-element-target='nestedElement'>
<div class="callout callout-info">
Expand Down
2 changes: 1 addition & 1 deletion app/views/partners/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<div data-controller='checkbox-with-nested-element'>
<%= f.input :send_reminders, label: "Do you want this partner to receive emails for distributions and reminders from the system?", wrapper: :input_group do %>
<%= f.check_box :send_reminders, { class: "input-group-text", id: "send_reminders", data: { action: 'click->checkbox-with-nested-element#toggleNestedElementVisiblity', 'checkbox-with-nested-element-target': 'checkbox' } }, "true", "false" %>
<%= f.check_box :send_reminders, { class: "input-group-text", id: "send_reminders", data: { action: 'click->checkbox-with-nested-element#toggleNestedElementVisibility', 'checkbox-with-nested-element-target': 'checkbox' } }, "true", "false" %>
<% end %>
<div class="callout callout-info d-none" data-checkbox-with-nested-element-target='nestedElement'>
<h5 class='text-uppercase font-weight-bold'>Reminder</h5>
Expand Down
2 changes: 1 addition & 1 deletion app/views/partners/families/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<i class="fa fa-dashboard"></i> Home
<% end %>
</li>
<li class="breadcrumb-item"><a href="#">Familes</a></li>
<li class="breadcrumb-item"><a href="#">Families</a></li>
</ol>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions app/views/profiles/_show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</p>
<p>Proof of Agency Status
<% if partner_profile.proof_of_partner_status.attached? %>
<!-- NOTE: The actual download link may not work in local storage mode due to file locations being seperate locally. -->
<!-- NOTE: The actual download link may not work in local storage mode due to file locations being separate locally. -->
(Link): <%= link_to partner_profile.proof_of_partner_status.filename, rails_blob_path(partner_profile.proof_of_partner_status, disposition: 'inline') %>
<% end %>
</p>
Expand Down Expand Up @@ -49,7 +49,7 @@
<p>Form 990: <%= humanize_boolean(partner_profile.proof_of_form_990.attached?) %></p>
<p>Form 990
<% if partner_profile.proof_of_form_990.attached? %>
<!-- NOTE: The actual download link may not work in local storage mode due to file locations being seperate locally. -->
<!-- NOTE: The actual download link may not work in local storage mode due to file locations being separate locally. -->
(Link): <%= link_to partner_profile.proof_of_form_990.filename, rails_blob_path(partner_profile.proof_of_form_990, disposition: 'attachment') %>
<% end %>
</p>
Expand Down
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Application < Rails::Application

# Set the async mailer jobs to go through the default queue
# that sidekiq comes with. This way `.deliver_later` will
# generate a job that will be processed by the exisiting
# generate a job that will be processed by the existing
# sidekiq worker that is only taking work from the `default`
# queue.
config.action_mailer.deliver_later_queue_name = 'default'
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/simple_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
# You can define the class to use on all labels. Default is nil.
# config.label_class = nil

# You can define the default class to be used on forms. Can be overriden
# You can define the default class to be used on forms. Can be overridden
# with `html: { :class }`. Defaulting to none.
# config.default_form_class = nil

Expand Down
8 changes: 4 additions & 4 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ def seed_random_item_with_name(organization, name)
end
Organization.all.find_each { |org| SnapshotEvent.publish(org) }

# Set minimum and recomended inventory levels for the complete organizations
# Set minimum and recommended inventory levels for the complete organizations
# Only set inventory levels for the half of each org's items with the lowest stock
complete_orgs.each do |org|
half_items_count = (org.items.count / 2).to_i
Expand All @@ -540,16 +540,16 @@ def seed_random_item_with_name(organization, name)
min_qty = low_items.first.total_quantity
max_qty = low_items.last.total_quantity

# Ensure at least one of the items unqiue to the Second City Bank has minimum
# Ensure at least one of the items unique to the Second City Bank has minimum
# and recommended quantities set
if (org == sc_org) && !(low_items & sc_org_unique_items).any?
low_items << sc_org_unique_items.last
end

low_items.each do |item|
min_value = rand((min_qty / 10).floor..(max_qty / 10).ceil) * 10
recomended_value = rand((min_value / 10).ceil..1000) * 10
item.update(on_hand_minimum_quantity: min_value, on_hand_recommended_quantity: recomended_value)
recommended_value = rand((min_value / 10).ceil..1000) * 10
item.update(on_hand_minimum_quantity: min_value, on_hand_recommended_quantity: recommended_value)
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Accepted

## Context

Partner organizations work directly with the families in need. Sometimes they will need to collect PII such as address, names and ages of family members, and other contact information. This data is not necessary for Diaperbase to operate, and there are security concerns about that PII being disclosed should there be a breach. There is also a separation of concerns between the two applications; Diaperbase is inventory management and Partnerbase is effectively a CRM. At this time, we belive that they are different enough in their purposes that they should be separate.
Partner organizations work directly with the families in need. Sometimes they will need to collect PII such as address, names and ages of family members, and other contact information. This data is not necessary for Diaperbase to operate, and there are security concerns about that PII being disclosed should there be a breach. There is also a separation of concerns between the two applications; Diaperbase is inventory management and Partnerbase is effectively a CRM. At this time, we believe that they are different enough in their purposes that they should be separate.

## Decision

Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/bank/getting_started_customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ You can also specify a different default Storage Location on any Partner, which
If you specify a default Storage Location, it will be pre-populated as the Storage Location when you are adding new Distributions.

#### Custom Partner Invitation Message
[!NOTE] The Custom Partner Invitation Message is currenty not working as advertised (as of November 13, 2024.). The current behavior is as if you did not enter anything here. We have fixing it on our "to do" list.
[!NOTE] The Custom Partner Invitation Message is currently not working as advertised (as of November 13, 2024.). The current behavior is as if you did not enter anything here. We have fixing it on our "to do" list.

When you invite a Partner, they get an email. This field lets you specify the message you are sending to them. Just text -- we don't have any personalization capability for this email at this time.

Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/bank/intro_ii.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ We publish the zoom, and (when we remember) in the Announcements in Human Essent


### Keeping up-to-date with changes
We release changes to the system most weeks on Sundays between 10am and noon Eastern time (the system will be down for a short period when we do). When we do, we put up an announcment in the system, which you will see on your [dashboard](essentials_dashboard.md). We also record them in a newsletter at: https://ruby-for-good.gitbook.io/human-essentials-news
We release changes to the system most weeks on Sundays between 10am and noon Eastern time (the system will be down for a short period when we do). When we do, we put up an announcement in the system, which you will see on your [dashboard](essentials_dashboard.md). We also record them in a newsletter at: https://ruby-for-good.gitbook.io/human-essentials-news



Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/bank/inventory_transfers.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Specify where the Items being moved are coming from, in "From Storage Location,"

The Comment field is a good place to note the reason for the Transfer, but you can leave it blank.

Then select the Item and quantity for each Item that is being Transferred. If you have [barcodes](inventory_barcodes.md) set up, you can use your barcode reader to "boop" in the materials being Transfered.
Then select the Item and quantity for each Item that is being Transferred. If you have [barcodes](inventory_barcodes.md) set up, you can use your barcode reader to "boop" in the materials being Transferred.

When you are done, click "Save". The system will check that you have enough inventory in "From" to cover the Transfer. If so, the inventory changes will take place immediately.

Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/bank/pm_announcements.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can add multiple Announcements, with links to additional information, and ei

Click on "Partner Agencies" in the left hand menu, then "Partner Announcement". This will bring up a list of all your partner Announcements.

![all announcments screen](images/partners/partners_announcements_1.png)
![all announcements screen](images/partners/partners_announcements_1.png)

Click the "New Announcements" button to bring up a form for a new Announcement

Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/bank/pm_partner_profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ How does the agency get its funding?
### Area Served (County/Client Share %)
This asks what county/county equivalents the agency serves and what proportion of their client share is in which area.

At this time, this only covers U.S. counties and equivalents. We believe the list covers *all* of the U.S, including some areas that are not tecnically counties.
At this time, this only covers U.S. counties and equivalents. We believe the list covers *all* of the U.S, including some areas that are not technically counties.
Let us know if you need more!

The sum of the client share has to be either 0 or 100, and the numbers have to be positive whole numbers.
Expand Down
4 changes: 2 additions & 2 deletions docs/user_guide/documentation_style_guide.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Style Guide
This style guide is for the Human Essentials Bank user guide.

Its purpose is to set the standard ways of dealing with matters of style, such as hypenation, capitalization, and the like.
Its purpose is to set the standard ways of dealing with matters of style, such as hyphenation, capitalization, and the like.

We want to do a final pass to make everything consistent with the style guide before officially launching the guide.


## Capitalization
### Headings
In documentaion, use title case for the main header for each page, then use sentence case (see this page as an example).
In documentation, use title case for the main header for each page, then use sentence case (see this page as an example).
### When quoting the system
Match the text to what is in the application. For instance, if a button says "Manage Product drives". That being said, if there is something in the app that is inconsistent, let's get that fixed.
### Otherwise, always capitalize
Expand Down
2 changes: 1 addition & 1 deletion puma-dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ puma-dev -install

Link the application.
```
puma-dev link -n essentials {essentails_dir}
puma-dev link -n essentials {essentials_dir}
```

For example, if your diaper repo clone is in `~/ruby/human-essentials`. You would run this:
Expand Down
2 changes: 1 addition & 1 deletion sbv.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ We welcome contributions from teams and have had great success facilitating team

This is where we have defined a larger chunk of work that needs to be done, the work is fully understood, it is ready to start immediately, and we just need some people to complete it.

An example of this is the theme upgrade and facelift we have planned for the project. We have created a [massive issue](https://github.com/rubyforgood/human-essentials/issues/2965) that lists all the user facing pages and files (337 of them!) that need to first be evaluated for compatibility with the new theme, and then upgraded once they are evaluted!
An example of this is the theme upgrade and facelift we have planned for the project. We have created a [massive issue](https://github.com/rubyforgood/human-essentials/issues/2965) that lists all the user facing pages and files (337 of them!) that need to first be evaluated for compatibility with the new theme, and then upgraded once they are evaluated!

#### Approach Two - You discover the work and suggest how to accomplish it

Expand Down
2 changes: 1 addition & 1 deletion spec/controllers/transfers_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
let!(:new_transfer) { create(:transfer, created_at: 1.day.ago) }

context 'when date parameters are supplied' do
it 'only returns the correct obejects' do
it 'only returns the correct objects' do
start_date = 3.days.ago.to_formatted_s(:date_picker)
end_date = Time.zone.today.to_formatted_s(:date_picker)
get :index, params: { filters: { date_range: "#{start_date} - #{end_date}" } }
Expand Down
2 changes: 1 addition & 1 deletion spec/models/adjustment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

RSpec.describe Adjustment, type: :model do
it_behaves_like "itemizable"
# This mixes feature specs with model specs... idealy we do not want to do this
# This mixes feature specs with model specs... ideally we do not want to do this
# it_behaves_like "pagination"
#
let(:organization) { create(:organization) }
Expand Down
2 changes: 1 addition & 1 deletion spec/models/distribution_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
end

describe "#copy_from_request" do
it "copy over relevant request information into the distrubution" do
it "copy over relevant request information into the distribution" do
item1 = create(:item, name: "Item1", organization: organization)
item2 = create(:item, name: "Item2", organization: organization)
request = create(:request,
Expand Down
2 changes: 1 addition & 1 deletion spec/models/donation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

RSpec.describe Donation, type: :model do
it_behaves_like "itemizable"
# This mixes feature specs with model specs... idealy we do not want to do this
# This mixes feature specs with model specs... ideally we do not want to do this
# it_behaves_like "pagination"

context "Validations >" do
Expand Down
2 changes: 1 addition & 1 deletion spec/models/item_category_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
it { should validate_length_of(:description).is_at_most(250) }
end

describe 'assocations' do
describe 'associations' do
it { should belong_to(:organization) }
it { should have_many(:items) }
it { should have_and_belong_to_many(:partner_groups) }
Expand Down
2 changes: 1 addition & 1 deletion spec/models/item_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
RSpec.describe Item, type: :model do
let(:organization) { create(:organization) }

describe 'Assocations >' do
describe 'Associations >' do
it { should belong_to(:item_category).optional }
end
context "Validations >" do
Expand Down
Loading
Loading