• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

UCLALibrary / terra
99%

Build:
DEFAULT BRANCH: master
Repo Added 14 Aug 2019 09:04PM UTC
Files 27
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • HEAD
  • TRRA-34/admin_fields
  • TRRA-35/docker
  • TRRA-35/mysql
  • TRRA-36/individual-dashboard
  • TRRA-36/individual-reports
  • TRRA-39/sample_data_readme
  • TRRA-40/load_data
  • TRRA-42/auth
  • TRRA-45/setup-travis
  • TRRA-48/base-template
  • TRRA-51
  • TRRA-52/csv-parse
  • TRRA-53/supervisor
  • TRRA-61/allocations_report
  • TRRA-63
  • blackened
  • readme-update-precommit

pending completion
124

push

travis-ci-com

akohler
Trra 61/allocations report (#19)

* Added view and template for manager reports (allocations)
Updated header with links for reports
Added helper functions to multiple models
Added helper functions in a new utils module

* added utils and template files I forgot in the last commit

* Added new report() method to Unit model. This will be the basis for the overhauled report page.
Also added a type to the Unit class.

* Overhauled unit report

* added unit.html template and fixed failing tests

* Updated report method to make a single query (excluding the query for employees)

* Cleaned up files and added tests for reports and other helper methods

* Changed header to have a sinlge reports link and added a very simple tree view of the units for now

* moved call to setlocale into the settings file and it is now explicitly setting the locale to en_US instead of using the system setting. This should ensure that tests pass on all systems

* Added restriction to unit detail views. They are now only visible to the unit manager of a "super" manager.

* tweaked unit list view. Added ability for superusers to view all unit reports. Added redirect to root after logging back in. Added Redirect from root to dashboard in lieu of a homepage

* updated tests to check superuser access to reports.  Updated sample data fixture with LBS superuser

* made final tweaks to reports logic

691 of 700 relevant lines covered (98.71%)

0.99 hits per line

Relevant lines Covered
Build:
Build:
700 RELEVANT LINES 691 COVERED LINES
0.99 HITS PER LINE
Source Files on master
  • Tree
  • List 0
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
124 master Trra 61/allocations report (#19) * Added view and template for manager reports (allocations) Updated header with links for reports Added helper functions to multiple models Added helper functions in a new utils module * added utils and temp... push 09 Sep 2019 06:19PM UTC akohler travis-ci-com pending completion  
123 master TRRA-63 added admin filters (#18) * TRRA-63 added admin filters Added admin filters (best-guess on desired fields) to each model. Default right-side placement of the filter list. Included "treq" field in some filters (e.g., Vacation) but it ... push 09 Sep 2019 03:50PM UTC joshuago78 travis-ci-com pending completion  
79 master Merge pull request #16 from UCLALibrary/TRRA-35/docker TRRA-35: Initial Docker setup - builds base dev image push 05 Sep 2019 03:57PM UTC web-flow travis-ci-com pending completion  
73 master Trra 36/individual reports (#15) * Starting dashboard view and path * Added dashboard path and begining view and template. * Adjusted filters in views. * Adjusted filters in views. * added dashboard link to base.html and removed a filter fro... push 30 Aug 2019 10:08PM UTC akohler travis-ci-com pending completion  
70 master TRRA-40: Add commands for loading data (WIP) (#14) * TRRA-40: Add commands for loading units and employees (WIP) TRRA-40: Refactor handler code into separate methods TRRA-40: Add supervisors to employees TRRA-40: Add command for loading histor... push 30 Aug 2019 03:56AM UTC joshuago78 travis-ci-com pending completion  
55 master Merge pull request #13 from UCLALibrary/readme-update-precommit Updated README - added line about pre-commit hook push 23 Aug 2019 06:46PM UTC web-flow travis-ci-com pending completion  
48 master Merge pull request #12 from UCLALibrary/blackened Added pre-commit-config for Black push 21 Aug 2019 10:28PM UTC web-flow travis-ci-com pending completion  
45 master Merge pull request #11 from UCLALibrary/TRRA-34/admin_fields Added list_display attributes for each ModelAdmin class push 21 Aug 2019 09:44PM UTC web-flow travis-ci-com pending completion  
44 master Trra 42/auth (#10) * Add auth urls and login template * removed employee detail template' * Removed an employee detail view * removed a url * Added auth urls and templates for the built in auth views * changed some formatting added... push 21 Aug 2019 08:30PM UTC joshuago78 travis-ci-com pending completion  
33 master Added suprvisor field (FK to self) to the Employee model. (#9) * Added suprvisor field (FK to self) to the Employee model. Closes TRRA-53 * Added migration for new supervisor field Added supervisors to fixture sample_data push 20 Aug 2019 03:49PM UTC akohler travis-ci-com pending completion  
See All Builds (606)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc