Commit Graph
25 Commits
Author SHA1 Message Date
James Smith 613ef2fa59 lint: move rspec rubocop fails into TODO comments inline 2024-02-28 15:05:19 +00:00
James Smith bd6f45c978 combine multiple stubs into one with receive_messages 2023-08-04 16:49:24 +01:00
James Smith 239c86f398 Removes dashes from path-parsed tags 2023-06-19 09:36:45 +01:00
James Smith 5ea6197688 add complex template test for pathparser 2023-06-17 23:22:54 +01:00
James Smith 04ae1bd6e5 add support for template extraction of model name 2023-06-17 23:16:55 +01:00
James Smith 60c2ea5828 Find creators and collections by slug or by name in path matching
resolves #1086
2023-06-17 20:52:56 +01:00
James Smith a23c2a0db8 add tests for slug matching in path parsing 2023-06-17 20:08:48 +01:00
Don Eisele aca90bb318 really fix tests 2023-03-13 21:49:09 -05:00
Don Eisele d8d28178fb fix tests 2023-03-13 21:45:30 -05:00
James Smith 8f3c79e453 generate_tags_from_directory_name 2023-03-10 01:38:10 +00:00
James Smith aff45bf10b Revert "remove old autogenerate tag method"
This reverts commit c27f005212.
2023-03-10 01:16:00 +00:00
James Smith c27f005212 remove old autogenerate tag method 2023-03-08 23:50:19 +00:00
James Smith 765289fc2e rename populate to parse, sorry 2023-03-08 23:50:19 +00:00
James Smith 6fe41d2197 rename autogenerate_creator_from_prefix_template to populate_metadata_from_path 2023-03-08 23:48:49 +00:00
James Smith aa5a16a43a rename model_path_prefix_template to model_path_template 2023-03-08 23:48:49 +00:00
James Smith bb944319a1 minor lint fixes 2023-03-08 23:47:35 +00:00
James Smith 71d4b45d4a refactor and extend path parsing 2023-03-08 23:47:35 +00:00
James Smith 7e70dcde19 add curly braces around path tokens 2023-03-01 22:36:59 +00:00
James Smith cb788ee473 apply stop word filtering to tags generated from new path parsing 2023-03-01 22:05:51 +00:00
James Smith a4d1c2f646 mock SiteSettings instead of mutating state 2023-03-01 16:38:32 +00:00
James Smith b4d3f89b08 add tests for various aspects of path parsing 2023-03-01 16:35:50 +00:00
James Smith 1b3f88d308 fix underscore path parsing test 2023-02-28 16:18:32 +00:00
James Smith 3019500a29 lint 2023-02-28 16:07:14 +00:00
James Smith 5215703981 move tagging and path parsing code into concern 2023-02-28 16:05:23 +00:00
James Smith 11e5cfd55d create PathParser concern 2023-02-28 16:02:16 +00:00