Files
john-okeefe 935b867219 feat: add highlights and notes annotation system
This major update implements a complete user annotation system:

## 🎯 New Features
- User notes with position tracking for media items
- Text highlighting with customizable colors
- Highlight-note associations for detailed annotations
- Full CRUD API for both notes and highlights
- Backward compatibility with existing ebook endpoints

## 📊 Database Changes
- Add media_notes table (id, media_item_id, user_id, content, position, timestamps)
- Add media_highlights table (id, media_item_id, user_id, selection_text, start/end_position, color, optional note_id)
- Add foreign key relationships with CASCADE deletes
- Add proper indexes for performance
- Add database schema views for ebook backward compatibility

## 🔧 API Implementation
- Complete REST API endpoints for notes and highlights
- JWT authentication with proper middleware bypass
- Request validation with meaningful error responses
- UUID validation and type safety
- Support for hex color codes in highlights

## 🧪 Testing & Documentation
- Comprehensive test suite covering authentication scenarios
- Bruno API collection for manual testing
- Detailed testing guide with troubleshooting
- Updated documentation in README and TESTING.md

## 📁 Backward Compatibility
- Existing ebook endpoints continue working
- Database views maintain API contracts
- No breaking changes for existing integrations

The annotation system is now fully functional and ready for production use.
2026-01-28 17:12:40 -05:00

29 lines
3.2 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version='1.0' encoding='utf-8'?>
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="uuid_id" version="2.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
<dc:identifier opf:scheme="calibre" id="calibre_id">1279</dc:identifier>
<dc:identifier opf:scheme="uuid" id="uuid_id">cfee70d3-f78f-4e1c-af76-05da10685bbc</dc:identifier>
<dc:title>Divine Energies and Divine Action: Exploring the Essence-Energies Distinction</dc:title>
<dc:creator opf:file-as="Bradshaw, David" opf:role="aut">David Bradshaw</dc:creator>
<dc:contributor opf:file-as="calibre" opf:role="bkp">calibre (8.16.2) [https://calibre-ebook.com]</dc:contributor>
<dc:date>2023-04-15T04:00:00+00:00</dc:date>
<dc:description>&lt;div&gt;
&lt;p&gt;Although the essence-energies distinction is central to Eastern Orthodox theology, it has long been a source of puzzlement and confusion. Through a careful study of its classical, biblical, and patristic sources, David Bradshaw clarifies its meaning and shows how it remains foundational for a properly Christian understanding of the relationship of God to the world. Among the topics covered &lt;br&gt;"David Bradshaws 2004 book Aristotle East and West showed him to be the preeminent interpreter of Gregory Palamas in our times. Now, in this latest book, Bradshaw has given us the most compelling and sophisticated account of the essence-energies distinction currently available. Even better than in his previous book, he shows its rootedness in the classical, biblical, and patristic traditions and its ability to resolve problems generated by Western theology and contemporary philosophy of religion. All Christian philosophers and theologians will find here a convincing case that the essence-energies distinction is necessary for a coherent, realist metaphysics or theology."&lt;br&gt;MARK SPENCER , University of St. Thomas, St. Paul, Minnesota &lt;/p&gt;
&lt;p&gt;" Divine Energies and Divine Action is the product of consummate patristic scholarship and a powerful and original philosophical intellect. It will be an indispensable prerequisite for engaging the conversation about the energy or activity ( energeia ) of God."&lt;br&gt;BRUCE FOLTZ , Eckerd College, St. Petersburg, Florida&lt;/p&gt;&lt;/div&gt;</dc:description>
<dc:publisher>IOTA Publications</dc:publisher>
<dc:identifier opf:scheme="ASIN">B0C9XPKMVY</dc:identifier>
<dc:identifier opf:scheme="MOBI-ASIN">B0C9XPKMVY</dc:identifier>
<dc:identifier opf:scheme="ISBN">9781735295152</dc:identifier>
<dc:identifier opf:scheme="AMAZON">1735295159</dc:identifier>
<dc:identifier opf:scheme="GOODREADS">182630917</dc:identifier>
<dc:identifier opf:scheme="GOOGLE">pyNw0AEACAAJ</dc:identifier>
<dc:language>eng</dc:language>
<meta name="calibre:rating" content="10"/>
<meta name="calibre:timestamp" content="2026-01-26T18:33:44.063190+00:00"/>
<meta name="calibre:title_sort" content="Divine Energies and Divine Action: Exploring the Essence-Energies Distinction"/>
</metadata>
<guide>
<reference type="cover" title="Cover" href="cover.jpg"/>
</guide>
</package>