{"id":21001443,"url":"https://github.com/divio/aldryn-search","last_synced_at":"2025-12-17T04:50:18.191Z","repository":{"id":9432045,"uuid":"11305938","full_name":"divio/aldryn-search","owner":"divio","description":"Haystack 2.0 search index for django CMS","archived":false,"fork":false,"pushed_at":"2024-05-14T04:27:57.000Z","size":216,"stargazers_count":47,"open_issues_count":24,"forks_count":83,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-11-12T03:41:15.779Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/divio.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.txt","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-07-10T07:59:42.000Z","updated_at":"2025-10-04T01:10:12.000Z","dependencies_parsed_at":"2024-06-18T21:25:24.650Z","dependency_job_id":"5ff96224-2073-4bd0-beaa-2d85b5ed9b70","html_url":"https://github.com/divio/aldryn-search","commit_stats":{"total_commits":216,"total_committers":31,"mean_commits":6.967741935483871,"dds":0.5740740740740741,"last_synced_commit":"d35faf50f3ceb3b2f84bd0493609ec32e8048c24"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/divio/aldryn-search","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Faldryn-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Faldryn-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Faldryn-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Faldryn-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divio","download_url":"https://codeload.github.com/divio/aldryn-search/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Faldryn-search/sbom","scorecard":{"id":345328,"data":{"date":"2025-08-11","repo":{"name":"github.com/divio/aldryn-search","commit":"d35faf50f3ceb3b2f84bd0493609ec32e8048c24"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Code-Review","score":6,"reason":"Found 8/12 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-140 / GHSA-9w8r-397f-prfh","Warn: Project is vulnerable to: PYSEC-2016-32 / GHSA-fff8-4w9p-7v76","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: PYSEC-2021-141 / GHSA-pq64-v7f5-gqh8"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T06:54:55.292Z","repository_id":9432045,"created_at":"2025-08-18T06:54:55.292Z","updated_at":"2025-08-18T06:54:55.292Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27777288,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-17T02:00:08.291Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T08:15:19.362Z","updated_at":"2025-12-17T04:50:18.168Z","avatar_url":"https://github.com/divio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Deprecated**\n\nThis project is no longer supported.\n\nDivio will undertake no further development or maintenance of this project. If you are interested in continuing to \ndevelop it, use the fork functionality from GitHub. We are not able to transfer ownership of the repository to another \nparty.\n\n=============\nAldryn Search\n=============\n\nThis package provides a search indexes for easy Haystack 2 integration with django CMS.\n\nContributing\n============\n\nThis is a an open-source project. We'll be delighted to receive your\nfeedback in the form of issues and pull requests. Before submitting your\npull request, please review our `contribution guidelines\n\u003chttp://docs.django-cms.org/en/latest/contributing/index.html\u003e`_.\n\nWe're grateful to all contributors who have helped create and maintain this package.\nContributors are listed at the `contributors \u003chttps://github.com/divio/aldryn-search/graphs/contributors\u003e`_\nsection.\n\nUsage\n=====\n\nAfter installing aldryn-search through your package manager of choice, add ``aldryn_search`` to your\n``INSTALLED_APPS``. If you run a multilingual CMS setup, you have to define a haystack backend for every language\nin use::\n\n    HAYSTACK_CONNECTIONS = {\n        'en': {\n            'ENGINE': 'haystack.backends.solr_backend.SolrEngine',\n            'URL': 'http://my-solr-server/solr/my-site-en/',\n            'TIMEOUT': 60 * 5,\n            'INCLUDE_SPELLING': True,\n            'BATCH_SIZE': 100,\n        },\n        'fr': {\n            'ENGINE': 'haystack.backends.solr_backend.SolrEngine',\n            'URL': 'http://my-solr-server/solr/my-site-fr/',\n            'TIMEOUT': 60 * 5,\n            'INCLUDE_SPELLING': True,\n            'BATCH_SIZE': 100,\n        },\n    }\n\nTo make sure the correct backend is used during search, add ``aldryn_search.router.LanguageRouter`` to your\n``HAYSTACK_ROUTERS`` setting::\n\n    HAYSTACK_ROUTERS = ['aldryn_search.router.LanguageRouter',]\n\n\n\nWhen using multiple languages, usually there's one search backend per language, when indexing it's important to know\nwhich language is currently being used, this can be facilitated by the ``ALDRYN_SEARCH_LANGUAGE_FROM_ALIAS`` setting,\nthis setting could be a callable or a string path that resolves to one.\n\nPlease keep in mind that it's usually not a good idea to import things in your settings, however there are cases where\nit seems overkill to create a function to handle the alias, for example::\n\n    ALDRYN_SEARCH_LANGUAGE_FROM_ALIAS = lambda alias: alias.split('-')[-1]\n\n\nthe example above could be used when using multiple languages and sites, all backends could have a language suffix.\n\nThe same could be achieved using a function defined somewhere else in your code like so::\n\n    ALDRYN_SEARCH_LANGUAGE_FROM_ALIAS = \"my_app.helpers.language_from_alias\"\n\n\n\nIf any of the above return None then ``settings.LANGUAGE_CODE`` will be used.\n\nBy default this setting evaluates to a function that checks if the alias is in ``settings.LANGUAGES`` and if so it\nuses the alias as a language.\n\n\nFor a complete Haystack setup, please refer to their `documentation \u003chttps://django-haystack.readthedocs.io/\u003e`_.\n\nFor more documentation, see the `docs folder \u003chttps://github.com/divio/aldryn-search/tree/master/docs/\u003e`_.\n\nIntegration with django CMS\n===========================\n\naldryn-search comes with an App Hook for django CMS, and a search view using Django's class based views. If you\nwant to use this app hook, you can either subclass it and register it yourself, or set\n``ALDRYN_SEARCH_REGISTER_APPHOOK`` to ``True``.\n\nIf you want to exclude some cms plugins from indexing, you can specify ``ALDRYN_SEARCH_PLUGINS_EXCLUDE`` setting like so::\n\n    ALDRYN_SEARCH_EXCLUDED_PLUGINS = [\n        \"PluginA\", \"PluginB\"\n    ]\n\nFor pagination, aldryn-search uses ``aldryn_common.paginator.DiggPaginator``. If you want to use this built-in\npagination, make sure to install `django-spurl \u003chttps://github.com/j4mie/django-spurl\u003e`_, and add then add ``spurl``\nto ``INSTALLED_APPS``.\n\nPagination\n==========\n\nResults are paginated according to the ``ALDRYN_SEARCH_PAGINATION`` setting (default: 10).\nIf set to ``None`` pagination is disabled.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivio%2Faldryn-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivio%2Faldryn-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivio%2Faldryn-search/lists"}