mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-19 22:19:49 -04:00
* Implement multiple Glob matches in the same indexer rule - Replace matching logic to use GlobSet instead of simple Glob - Add `No OS protected` indexer rule to avoid indexing OS protected files - Enable `No OS protected` indexer rule by default * Rust fmt * Reduce `No OS protected` rule Glob list by using OR matches * Add globs for android and ios files in `No OS protected` rule * Add some more unix special path to be ignored * Add a new property to IndexerRule to enable it by default when adding a new location: - Modify the Prisma schema to add the default property to the IndexerRule model. - Adjust the IndexerRule struct's create and save logic to consider the new property. - Adjust AddLocationDialog to properly load the default indexer rules from the backend. - Minorly improve IndexerRuleEditor to avoid adding duplicate entries to its assigned form field. - Add editorconfig entries for SQL and Prisma types. * rust fmt * Add Windows users special folders and files to `No OS protected` rule * Construct `No OS protected` globs from string vec - Don't repeat windows globs that require both a root and C: version * Apply review feedback and add error handling for `IndexerRuleEditor` - Revert manual changes made to init migration - Create external migration that adds a `default` prop in `IndexerRule` model - Remove redundant `useMemo` - Replace destructuring of `useQuery` - Provide feedback to user when a error occurs while querying indexer rules * useMemo only for `indexerRulesIds` and not the whole `defaultValues` object - Remove logic to accpet unix root path for windows indexer `No OS protected` rule