docbrown/app
Chien-Wei Huang (Michael) f7a9f0d2b4
validate payment pointer (#11702)
* Add validation for payment_pointer and clean its space before save

* Add test for payment_pointer

* fix payment pointer regexp

* fix test

* Remove space with strip

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>

* Remove redundant test

* Refactor clean_payment_pointer to strip_payment_pointer
- Move callback from before_save to before_validation

* Refactor PAYMENT_POINTER_REGEXP

* style: remove last comment in regexp

* fix typo

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>
2020-12-04 12:00:25 -05:00
..
assets Fix wikipedia tag z-index (#11737) 2020-12-04 09:42:05 -05:00
black_box Small adjustment to blackbox.rb (#10961) 2020-10-20 21:14:56 -04:00
controllers Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
dashboards Add registered fields to resource_admin (#10941) 2020-10-19 17:50:34 -04:00
decorators Refactor EdgeCache (#11684) 2020-12-02 14:20:22 -05:00
errors [deploy] Add contexts and permissions to liquid tags (#8917) 2020-06-30 14:53:18 -04:00
fields Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
helpers [EOY2020 Issue] Default new forems to Email Authentication only (#11696) 2020-12-02 16:49:07 -05:00
javascript Headings and alt text roundup (#11721) 2020-12-04 09:41:45 -05:00
labor Move app/labor/error_message_cleaner.rb to service (#11679) 2020-12-02 11:05:36 +07:00
lib Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
liquid_tags Improve user subscription UX flow when latency is high (#11735) 2020-12-03 12:25:32 -08:00
mailers Update trusted role email Subject (#11519) 2020-11-20 09:54:21 -06:00
middlewares Move TimeZoneSetter middleware in proper place (#11336) 2020-11-09 17:11:10 +01:00
models validate payment pointer (#11702) 2020-12-04 12:00:25 -05:00
policies Add implicit points to follows to improve feed relevancy (in all algorithms) (#11513) 2020-11-25 16:09:51 -05:00
queries/admin Filter by a few other roles when adding potential mods (#11187) 2020-11-02 15:05:19 -05:00
refinements Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
sanitizers [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
serializers [deploy] Refactor:Remove Reaction Search Code (#10377) 2020-09-23 12:27:50 -05:00
services Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
uploaders [deploy] Bug Fix: Validate GIFs Frames and Add MiniMagick Timeout (#9319) 2020-07-15 09:49:24 -05:00
validators Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
view_objects Move GeneratedImage to Images::GenerateSocialmage (#11691) 2020-12-02 11:03:14 +07:00
views Headings and alt text roundup (#11721) 2020-12-04 09:41:45 -05:00
workers Add a/b test for implicit follow points (#11675) 2020-12-03 08:39:04 -05:00