Releases: Sefaria/Contextus
Releases · Sefaria/Contextus
v1.15.4
1.15.4 (2024-02-14)
Bug Fixes
- api: patches a bug where setting a url param to false or 0 would return true at certain API endpoints. (9f6b71e)
- linker: fix order of parameters (ab37239)
- Markdown: markdown in admin editors was not being validated (d3e31c5)
- search: move encapsulation of SearchTotal to search.js (9f0bf23)
- search: remove compatibility code (c05388c)
- Source Editor: Prompts should be textareas not input elements (3c9a42c)
- TranslationBox: avoid sorting translations when there are none. (556baf6)
v1.15.3
v1.15.2
v1.15.1
v1.15.0
1.15.0 (2024-01-21)
Features
- (TextChunck: add new class TextRange and moving most of TextChunck methods to it. (fbba29d)
- (TextChunck: new texts api. (f2a0651)
- AboutNavBar: add hebrew getting started video button (c585499)
- AboutNavBar: add video length to button text (abdd9f4)
- AboutNavBar: rotate vector img (96b2f03)
- api texts: make api work with lexicons. (3114834)
- api texts: new TextRange class for getting text. (e90b0e7)
- api texts: option for getting version by versionTitle only (without lang). (ed09ab7)
- api texts: return 400 for empty ref. (243f6cc)
- api texts: TextRangeSet and modifying TextRange for it. (82c52dc)
- api texts: warning for no translation. (b9fce28)
- api-v3: add new attribute 'fullLanguage' to Version, and use it in the api rather than actualLanguage which is just the language ISO code. (1596f18)
- api-v3: return error when return_format is not one of our known formats. (8115d1f)
- api: add direction attr to version when saved. (1801a0d)
- api: add return_format param that can be default, text_only (for stripping notes and html), or wrap_all_entities (for adding html for ref links and topic links). (f7936f8)
- api: get texts from new api. (ff8b266)
- jobs: Allow job postings to have a start date and end date for visibility (2cc9808)
- jobs: Sort team members in the correct order when the interface language is Hebrew (3e92cfc)
- strapi-cms: Rewrite Jobs page to use StaticPages component and to be editable through Strapi (1b35068)
- strapi-cms: Rewrite Team page to use a StaticPages component (6c42f3c)
- strapi-cms: Teams page now uses Strapi for its data (1653261)
- text api: add available_versions to the returned object. (c69e1a9)
- text api: add merge option to API. (8250816)
- text api: find language also with capital letters. (18dad10)
- text api: return the language attribute to api response. (336e758)
- texts api: add direction to version and pop the old language. (92cae3d)
- texts api: add errors to api response. (dd4cb16)
- texts api: default lang is base. (820ea09)
- texts api: handle lang 'base' and 'source'. (0fbf3df)
- Topic Editor: can add pictures with captions (1bf6cf8)
- Topic Editor: remove image button (b7af636)
- Topic Editor: Topic Editor can post to google cloud and return url (80f1a8c)
- translations: ass Hebrew strings for Select and Currently Selected. (2e5e4e6)
- translations: border line only after language. (0b43a86)
- translations: chevron svg files. (be94119)
- translations: functions for getting texts and particularly translations. Use the new function in TranslationBox. (939d7de)
- translations: no underline when hovering the content of translation. (baee75f)
- translations: rtl for rel translations. (562de7b)
- translations: show translations with preview. (fca5463)
- translations: space between version title and image. (2d081db)
- translations: styles for new feature. (965c4ee)
- translations: truncate translation with expanding ellipsis. (8604512)
- translations: update TranslationBox when moving segments. (a4bfd2f)
- translations: vertical space between blocks of 30px. (08d7863)
Bug Fixes
- (TextChunck: change params order of TextRange. (3207f2f)
- (texts api: get best priority for default. (b735640)
- Actually enable new cronjob on prod (93fea2a)
- Add test for Ref.contains (42d0bfa)
- Admin Editor: Add places that are neighborhoods or villages (a2d7305)
- api errors: rename get_dict to get_message when called. (67e86a5)
- api texts: add underscore to calls. (37d2459)
- api texts: error code for no translation. (fbd334a)
- api texts: fix getting text by TextRange. (8750229)
- api texts: passing params to jsonResponse correctly. (9b96175)
- api texts: sections and toSections for Talmud addressType, add collective title. (f1c8814)
- api texts: split_at_pipe_with_default for more than 1 pipe. (1b655c1)
- api texts: status code 405. (f3f2b52)
- api-v3: change 400 to 404 when ref is invalid or empty. (4e482c0)
- api: avoid accumulation of functions in iteration. (f4b57c8)
- change_parent needs to force update of node full_title (f8194f9)
- copyFromReader: clean code and remove debug prints (8be051b)
- copyFromReader: first approach for fixing - remove spans from text segment. recognize spans to remove through their ancestors ([37eef42](https://github.com/Sefaria/...
v1.14.1
v1.14.0
1.14.0 (2024-01-09)
Features
- banner: banner for contextus (715a6c6)
- search: add + when there are more results than ES can calculate (44da07b)
- search: add es6_compat parameter to search wrapper api so that older clients can still work (3561b7c)
- search: connect to ES using a password (d641ef6)
- search: connect to ES using a password (f5832da)
Bug Fixes
- dont skip rest of list if new_inds is less than curr_inds because there may be a later new_ind that is overlaps (791a74f)
- fix merge of production-values.yaml (8a2c011)
- off-by-one error in calculation of end index (1a51b6d)
- reader: Temporarily have Django connect to ES using admin creds to ease upgrade. (1660623)
- reader: Temporarily have Django connect to ES using admin creds to ease upgrade. (7e32bdc)
- reader: Temporarily use fallback to SEARCH_ADMIN if SEARCH_NON_ADMIN isn't defined (498bfd9)
- reader: Temporarily use fallback to SEARCH_ADMIN if SEARCH_NON_ADMIN isn't defined (1846327)
- search: add in missing elasticUser secret so that nginx can proxy /api/search API (cd7e6b7)
- search: make code backwards compatible with elasticsearch 6. (d8aed82)
- search: make code backwards compatible with elasticsearch 6. (e7249ae)
- search: update to use total.value based on new datastructure returned from ES 8 (1976025)
- search: update to use total.value based on new datastructure returned from ES 8 (f947614)
- use . to run entrypoint to solve permission issue (f2d1f1f)
v1.13.1
v1.13.0
1.13.0 (2023-12-12)
Features
- add Cerberus validations to AbstractMongoRecord. (9cf985e)
- add header to translations box (5671a5d)
- add Hebrew strings (e6fc258)
- add Learn more link (c7104c9)
- Admin Editor: topics and indices can be edited with place info (8188b84)
- Allow staff to delete sheets (3889757)
- Backend topic images: Add helper function for data migration (c9c3527)
- Backend topic images: Add image URI validation (6e33b7f)
- Backend topic images: Add optional attribute for image (4f16201)
- Backend topic images: Generalize image with caption component, generalize css, rework TopicImage component (5f2d045)
- css: changed color of saveButton and displayTextButton to darker grey (4dbe6c4)
- display short descriptions of works in author-topic pages (01bdf5a)
- DisplaySettingsButton: change button to A for English interface and aleph for Hebrew interface (74d5c1f)
- gtag: resources panel open (4e58335)
- hard-code translations call-to-action to always show. (b303a79)
- helm: Add redirects from the JSON files used for interrupting messages on mobile users to the new Strapi API endpoints (142ec14)
- implement TextColumnBannerChooser to decide what banner to render. (7c88c8d)
- Merged in and ready to launch contextus dev (ab5a0ab)
- only show TransCallToActionBanner in appropriate cases (badc373)
- portal model (d117840)
- portal model: add field "organization" (8c4b209)
- Portal: add captions (15af102)
- portal: add name field to portal (ee880f2)
- Portal: add portal_slug to topic model (be72245)
- Portal: add portals to frontend data (c11d427)
- Portal: add prop for setting email placeholder (34c6a3e)
- portal: Added frontends NavSideBar modules to display portal data (8927097)
- Portal: added slugs to Portal class (38d863f)
- portal: allow instantiating a slugged mongo record that has more than one slug field (eeb56f9)
- Portal: create proxy api for steinsaltz newsletter signup. (80065ff)
- portal: make title_url optional for portal newsletter (c97d5fd)
- Portal: working portals api (6ca9f75)
- ref: remove stop_parsing for identifying hebrew refs of talmud with line (e.g. סוטה לה א:יא). (222525f)
- remember if call to action is dismissed (744b404)
- Remove version notes from translation selection sidebar. Keep them in about-this-text and book page. (b8931f6)
- Search Results: Normalize ref if Sefaria.parseRef can't find the index (9f33bf4)
- text helper: function for modifying texts all over texts collection. (536aaf4)
- timePeriod: add determine_year_estimate to TimePeriod. (ec31bcb)
- timeperiod: new class for person timeperiod which has different method for period string. (d34dd1b)
- Topic Editor: added birth + death + alttitles for authors (af8436e)
- Topic Editor: update props that change (ff8dc91)
- Topic Image: First pass (980b79f)
- Topic Images: CSS Templating in place (5ad1ceb)
- Topic Images: Part one of mobile render (63a47d3)
- Topic Images: Working dynamically with hardcoded data, English only (5c554b7)
- Topics: add sort URL param to topic pages. (b4a5645)
- Topics: add sort URL param to topic pages. (7602cfa)
Bug Fixes
- Admin Editor: add confirm message in admineditor (8607745)
- Admin Editors: verify places are real cities (86b3f58)
- autospell: remove merkha and merkhaot from letter_scope, so they will be removed by unidecode. (dd2a741)
- autospell: treat merkhaot (") and gershayim (״) as the same in hebrew auto completion. (1a1925b)
- Backend topic images: Adjust the caption props as per feedback in code review (621a947)
- Backend topic images: Adjust validate function (5241a67)
- Backend topic images: Create new migration subdirectory, add script for migration (1fdc6ab)
- Backend topic images: Prefer use of Topic.init vs load() (c023bbd)
- Backend topic images: Remove custom exception, prefer assert (f6b4d08)
- Backend topic images: Restore portal validation to topic validate (7dbccb3)
- Banners won't show up again after the banner button is clicked (0a1ccb0)
- css: Fixed CSS styling so that when there is a banner it does not interfere with the navigation menu on mobile web (3a1d42e)
- css: polish reader control icons (0aeb6e6)
- css: remove margin from English reader icon (28e4ff0)
- Don't show banners on Sefaria pages where the banner or modal button link to. This will do nothing for external links ([466e674](https://github.com/Sefaria/Contex...