From ef3ccb8cf6c4ac585d77fdbed0707f14b6626a85 Mon Sep 17 00:00:00 2001 From: "Fritz J. Pichardo Marcano" Date: Fri, 21 Nov 2025 02:01:03 +0000 Subject: [PATCH 1/3] feat: add account and feature access section to about page --- .../templates/home/about.html | 89 +++++++++++++++++-- 1 file changed, 81 insertions(+), 8 deletions(-) diff --git a/ckanext/digitizationknowledge/templates/home/about.html b/ckanext/digitizationknowledge/templates/home/about.html index a50360e..e04f065 100644 --- a/ckanext/digitizationknowledge/templates/home/about.html +++ b/ckanext/digitizationknowledge/templates/home/about.html @@ -17,6 +17,68 @@

About

Our Story

For years, iDigBio has supported the biodiversity digitization community by curating resources on the iDigBio Wiki. While these pages have been an important reference for collection professionals, the community found that searching for and discovering new materials on the wiki could be cumbersome. The Digitization Knowledge Base was born from this feedback. It represents the next evolution in iDigBio's commitment to compiling and sharing community knowledge, offering a powerful and intuitive experience for all users.

+ +
+

Account & Feature Access

+

+ Most of the functionality of the knowledge base is already available without account registratoin. However, registering for an account will allow you to save sets of resources of interest as groups for future reference, create groups that may be useful to others, and comment on resources. + Account creation is currently handled via a request form (Google Form). Once submitted, we will create your account. At this time, registration is limited to users who can provide proof of affiliation with an organization by signing up using their organization’s email address. +

+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Not-RegisteredRegistered

Browse and view resource details

Use all search interfaces

View and search within public groups

View comments on resources

Access the Search API

Create groups

Post comments on resources

+
+
+
+
+
@@ -24,8 +86,10 @@

Our A

Our approach is to serve as a central hub that points to the wealth of resources already created by the digitization community, rather than hosting original content directly. We enrich these resources with detailed descriptions and structured metadata to power a robust search experience, allowing users to find materials through both faceted and full-text searches. This focus on metadata enhancement makes discovery faster and more intuitive. Furthermore, we foster a collaborative environment by enabling community discussion around each resource through a commenting system, helping to collectively advance our shared expertise.

+ + -
+
@@ -163,12 +227,21 @@
iDigBio's Digitization Resources Manag - -
-

Get Involved & Find Support

-

Report an Issue: If you encounter a bug or have a problem with the platform's functionality, please report it on our GitHub Issues page.

-

Contact Us: For other inquiries, you can reach us at fpichardomarcano@fsu.edu.

-
+
+ + +
+

Get Involved & Find Support

+

+ Report an Issue: + If you encounter a bug or have a problem with the platform's functionality, please report it on our + GitHub Issues page. +

+

+ Contact Us: + For other inquiries, you can reach us at + fpichardomarcano@fsu.edu. +

From 6fddc0ffcb678f9ec5658fbf45a1c653bfdf9858 Mon Sep 17 00:00:00 2001 From: "Fritz J. Pichardo Marcano" Date: Fri, 21 Nov 2025 02:26:00 +0000 Subject: [PATCH 2/3] feat: add terms of use and privacy policy pages with blueprint routes --- ckanext/digitizationknowledge/plugin.py | 8 +++--- .../digitizationknowledge/privacy_policy.html | 4 +++ .../digitizationknowledge/terms_of_use.html | 4 +++ ckanext/digitizationknowledge/views.py | 28 ++++++++++++++++--- 4 files changed, 36 insertions(+), 8 deletions(-) create mode 100644 ckanext/digitizationknowledge/templates/digitizationknowledge/privacy_policy.html create mode 100644 ckanext/digitizationknowledge/templates/digitizationknowledge/terms_of_use.html diff --git a/ckanext/digitizationknowledge/plugin.py b/ckanext/digitizationknowledge/plugin.py index 5fb28fd..abbe949 100644 --- a/ckanext/digitizationknowledge/plugin.py +++ b/ckanext/digitizationknowledge/plugin.py @@ -7,7 +7,7 @@ # import ckanext.digitizationknowledge.cli as cli import ckanext.digitizationknowledge.helpers as helpers -# import ckanext.digitizationknowledge.views as views +import ckanext.digitizationknowledge.views as views from ckanext.digitizationknowledge.logic import ( validators # action, auth, validators @@ -19,7 +19,7 @@ class DigitizationknowledgePlugin(plugins.SingletonPlugin): # plugins.implements(plugins.IAuthFunctions) # plugins.implements(plugins.IActions) - # plugins.implements(plugins.IBlueprint) + plugins.implements(plugins.IBlueprint) # plugins.implements(plugins.IClick) plugins.implements(plugins.ITemplateHelpers) plugins.implements(plugins.IValidators) @@ -103,8 +103,8 @@ def update_config(self, config_): # IBlueprint - # def get_blueprint(self): - # return views.get_blueprints() + def get_blueprint(self): + return views.get_blueprints() # IClick diff --git a/ckanext/digitizationknowledge/templates/digitizationknowledge/privacy_policy.html b/ckanext/digitizationknowledge/templates/digitizationknowledge/privacy_policy.html new file mode 100644 index 0000000..ef881ce --- /dev/null +++ b/ckanext/digitizationknowledge/templates/digitizationknowledge/privacy_policy.html @@ -0,0 +1,4 @@ +
+

Privacy Policy

+

Welcome to the Privacy Policy page.

+
\ No newline at end of file diff --git a/ckanext/digitizationknowledge/templates/digitizationknowledge/terms_of_use.html b/ckanext/digitizationknowledge/templates/digitizationknowledge/terms_of_use.html new file mode 100644 index 0000000..30cb5f0 --- /dev/null +++ b/ckanext/digitizationknowledge/templates/digitizationknowledge/terms_of_use.html @@ -0,0 +1,4 @@ +
+

Terms of Use

+

Welcome to the Terms of Use page.

+
\ No newline at end of file diff --git a/ckanext/digitizationknowledge/views.py b/ckanext/digitizationknowledge/views.py index 43dbfc8..c9c86fa 100644 --- a/ckanext/digitizationknowledge/views.py +++ b/ckanext/digitizationknowledge/views.py @@ -1,17 +1,37 @@ -from flask import Blueprint +from flask import Blueprint, render_template digitizationknowledge = Blueprint( "digitizationknowledge", __name__) -def page(): - return "Hello, digitizationknowledge!" +#def page(): +# return "Hello, digitizationknowledge!" +#digitizationknowledge.add_url_rule( +# "/digitizationknowledge/page", view_func=page) + + +# Define page for Terms of Use + +def terms_of_use(): + "Render the Terms of use page." + return render_template('digitizationknowledge/terms_of_use.html') + digitizationknowledge.add_url_rule( - "/digitizationknowledge/page", view_func=page) + "/terms-of-use", view_func=terms_of_use +) +# Define page for privacy policy + +def privacy_policy(): + "Render the privacy policy page." + return render_template('digitizationknowledge/privacy_policy.html') + +digitizationknowledge.add_url_rule( + "/privacy-policy", view_func=privacy_policy +) def get_blueprints(): return [digitizationknowledge] From 05bb411dc23912d974829eb1844a7d5a6f7a53a5 Mon Sep 17 00:00:00 2001 From: "Fritz J. Pichardo Marcano" Date: Fri, 21 Nov 2025 02:30:20 +0000 Subject: [PATCH 3/3] feat: add terms of use and privacy policy links to footer --- ckanext/digitizationknowledge/templates/footer.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ckanext/digitizationknowledge/templates/footer.html b/ckanext/digitizationknowledge/templates/footer.html index ca244cd..dd0c09a 100644 --- a/ckanext/digitizationknowledge/templates/footer.html +++ b/ckanext/digitizationknowledge/templates/footer.html @@ -21,6 +21,18 @@ +{# Terms and Privacy Links #} +
+ +
+ +