How tomastomecek/trello-reporter works
trello-reporter is a Django application for reporting and charting Trello board activity. Users provide an API key; Trello authorization supplies a token kept in a cookie rather than persisted. The application fetches board data and actions, stores them for charting, and exposes board, sprint, card, and chart views. The README documents synchronization and chart capabilities; sampled code confirms several chart-data paths, but not every route or synchronization call, so unsupported connections are omitted.
Main entry points: views.py Report views · models.py Boards and cards · harvestor.py Trello fetcher · urls.py URL routing
Components 19
Identity and access
- URL routing
trello_reporter/urls.py - Auth routes
trello_reporter/authentication/urls.py - Auth views
trello_reporter/authentication/views.py - Profile form
trello_reporter/authentication/forms.py - Trello users
trello_reporter/authentication/models.py - Auth backend
trello_reporter/authentication/backend.py
Trello data sync
- Trello action events
trello_reporter/harvesting/models.py - Trello fetcher
trello_reporter/harvesting/harvestor.py
Board and sprint data
- Boards and cards
trello_reporter/charting/models.py - Application settings
trello_reporter/settings.py
Reports and charts
- Chart routes
trello_reporter/charting/urls.py - Report views
trello_reporter/charting/views.py - Chart forms
trello_reporter/charting/forms.py - Chart calculations
trello_reporter/charting/processing.py - Card presentation
trello_reporter/charting/templatetags/card.py - Chart interface
trello_reporter/charting/static/main.js - Chart definitions
trello_reporter/charting/constants.py
Other components
- Browser user
- Trello API
Connections 23
- Browser user → URL routing: opens reports
trello_reporter/urls.py - URL routing → Auth routes: registers routes
trello_reporter/urls.py - URL routing → Chart routes: registers routes
trello_reporter/urls.py - Auth routes → Auth views: routes requests
trello_reporter/authentication/urls.py - Auth views → Profile form: validates profile
trello_reporter/authentication/views.py - Auth views → Trello users: updates profile
- Auth backend → Trello users: loads user
trello_reporter/authentication/backend.py - Auth backend → Trello fetcher: checks Trello token
trello_reporter/authentication/backend.py - Chart routes → Report views: routes requests
trello_reporter/charting/urls.py - Report views → Chart forms: validates inputs
trello_reporter/charting/views.py - Report views → Chart calculations: calculates chart data
trello_reporter/charting/views.py - Report views → Boards and cards: reads board data
trello_reporter/charting/views.py - Report views → Trello action events: reads card events
trello_reporter/charting/views.py - Report views → Trello users: reads user settings
trello_reporter/charting/views.py - Report views → Card presentation: renders card links
trello_reporter/charting/views.py - Chart calculations → Boards and cards: queries chart data
trello_reporter/charting/processing.py - Chart forms → Boards and cards: uses board models
trello_reporter/charting/forms.py - Boards and cards → Trello fetcher: fetches Trello data
trello_reporter/charting/models.py - Boards and cards → Trello action events: stores action events
trello_reporter/charting/models.py - Trello fetcher → Trello API: requests board data
trello_reporter/harvesting/harvestor.py - Trello fetcher → Application settings: loads API key
trello_reporter/harvesting/harvestor.py - Report views → Chart interface: serves chart data
- Report views → Chart definitions: uses chart definitions
trello_reporter/charting/views.py