Added:
- Optional
static_sourcekey in the rc for the html build.
Changed:
- institution dereference is done by
regolith.tools.dereference_institutionfunction - HTML pages dereference institutions
person.htmlallows for authors or editors and hides publications in detailsroot_index.htmlallows for banner to be speced ingroupscollectionregolith.builders.CVBuildernow dereferences institutions/organizations for employers and educationregolith.builders.CVBuilderdeepcopies each person so we don't modify the records during dereferenceregolith.tools.latex_safewraps URLs in\url{}regolith.builders.basebuilder.LatexBuilderBaserunspdflatexlast if running on windows, rather thanlatexthendvipdf- Order yaml collections by key before dump for deterministic changes in collection order (make git more sane)
Fixed:
- Properly handle authors and editors set in
regolith.tools.filter_publications regolith.tools.fuzzy_retrievalproperly handles null values- education and employment subschemas for people are now just lists
regolith.builders.BuilderBaseuseslatex_safefromregolith.tools- wrap dbdir in @() so xonsh does the right thing
Added:
- Schema for expenses tracking
- builder for Columbia reimbursement forms
Changed:
openuses explict 'utf-8' bindings (for windows users)- Allow education to be ongoing
- Allow begin and end years for service
- Make employment optional
Fixed:
- Build presentation PDFs when running in normal operation
regolith.database.load_git_databasechecks branch gracefullyregolith.tools.document_by_valuedoesn't splay address incorrectly
Added:
- option for fuzzy_retrieval to be case insensitive
regolith.broker.Brokerfor interfacing with dbs and stores from pythonregolith.builders.figurebuilderfor including files from the store in tex documentsregolith.database.open_dbsto open the databases without closingvalidatetakes in optional--collectionkwarg to restrict validation to a single collection- ORCID ID in people schema
- Added presentations schema and exemplar
- Added institutions schema and exemplar
- Added presentation list builder
- number_suffix function to tools, returns the suffice to turn numbers into adjectives
- Method to find all group members from a given group
- a stylers.py module
- a function that puts strings into sentence case but preserving capitalization of text in braces
- User configuration file handling for adding keys to the
regolithrc.jsonglobally
Changed:
- added aka to groups schema
- Docs for collections fully auto generate (don't need to edit the index)
zipandstateonly apply toUSAinstitutions- added group item in people schema
KeyErrorforChainDBnow prints the offending key
None
- preslist now includes end-dates when meeting is longer than one day
- Builder for making presentation lists now builds lists for all group members
- Departments and schools in institutions are now dictionaries
- Preslist builder now puts titles in sentence case
- Use
xonshstandard lib subprocess and os
Fixed:
validateexits with error code 1 if there are bad records- Preslist crash when institution had no department
- Departments and schools in institutions now use valueschema so they can have unknown keys but validated values
Added:
CPBuilderfor building current and pending support reportsinitialsfield topeopledocumentperson_months_academic,person_months_summer, andscopetograntdocumentfuzzy_retrievaltool for getting documents based off of multiple potential fields (eg.nameandakafor searching people)- Tests for the exemplars
- Group collection for tracking research group information
document_by_valuetool for getting a document by it's valuebibtexparserto test deps- Builder integration tests
- Option for not making PDFs during the build process (for PDF building builders)
- Added presentations schema and exemplar
- Second exemplars for
grantsandproposals bootstrap_buildersfor generating the outputs to test the builders against- publist tex file to tests
Changed:
- moved builders into
buildersfolder groupcollection togroupscollection- Use the position sorter to enumerate the possible positions in the schema
base.htmlandindex.htmlfor webpages are auto-generated (if not present)- test against
htmlin addition to other builders
Fixed:
- Pin to cerberus 1.1 in requirements. 1.2 causing testing problems.
- Fixed error that anded authors and editors
- Error in
setup.pywhich caused builders to not be found - Error in
BaseBuilderwhich caused it to look in the wrong spot for templates - Fixed bug in grad builder when the total wieght is zero.
- Actually use
ChainedDBwhen working with the DBs - Error in
ChainedDBwhich caused bad keys to return withNone
Fixed:
- Local DBs were not being loaded properly
Added:
- Regolith commands can run using a local db rather than a remote
LatexBuilderBasea base class for building latex documents- Users can override keys in each collection's schema via the RC
- Command for validating the combined database
regolith validate
Changed:
CVBuilderandResumeBuilderbuilders now inheret fromLatexBuilderBase
Fixed:
- Use get syntax with
filter_publicationsin case author not in dict - If a collection is not in the schema it is auto valid
Fixed:
all_documentsnow returns the values of an empty dict if the collection doesn't exist
Added:
- Database clients now merge collections across databases so records across
public and private databases can be put together. This is in
client.chained_db. - Blacklist for db files (eg.
travis.yml) the default (if no blacklist is specified in thercis to blacklist['.travis.yml', '.travis.yaml'] - Schemas and exemplars for the collections. Database entries are checked against the schema, making sure that all the required fields are filled and the values are the same type(s) listed in the schema. The schema also includes descriptions of the data to be included. The exemplars are examples which have all the specified fields and are used to check the validation.
- Docs auto generate for collections (if they were documented in the schema).
Changed:
all_docs_from_collectionuse thechained_dbto pull from all dbs at once. This is a breaking API change forrc.client.all_documents- App now validates incoming data against schema
Deprecated:
- Mongo database support is being deprecated (no
chained_dbsupport)
Fixed:
- Properly implemented the classlist
replaceoperation. - Fixed issue with classlist insertions using Mongo-style API (deprecated).
- Properly filter on course ids when emailing.
fsclientdbs explicitly load 'utf-8' files, which fixes an issue on Windows
Added:
BuilderBaseClass for builders- Logo to docs
- Filesystem-based client may now read from YAML files, in addition to JSON. Each collection can be in either JSON or YAML.
Changed:
- Refactored builders to use base class
Fixed:
- Fixed issue with CV builder not filtering grants properly.
- Fixed bug with
supernot being called in the HTML builder.
Added:
- Use Rever's whitespace parsing
- Fix template news
Added:
- Rever release tool
- Interactive session support
- run better release
Added:
collabsfield in db for collaboratorsactivefield in db for current collaborators/group members
Changed:
- People page only shows current members, former members on Former Members page