From 21dc7252e2d3ce930b5a87b4024eba0b35cba06e Mon Sep 17 00:00:00 2001 From: Mark Pittaway Date: Fri, 7 Jan 2022 17:17:13 +1100 Subject: [PATCH] Release 2.0.0 --- CHANGELOG.md | 339 ++++++++++++++++++++++++++++++++++++++++++++++- package.json | 2 +- requirements.txt | 2 +- setup.py | 2 +- 4 files changed, 341 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1233bff65..9274b9018 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,341 @@ -# Newsroom Changelog +# Newshub Changelog + +## [2.0.0] 2022-01-07 +### Breaking Changes +- Moved core and app features into separate repositories (newsroom-core & newsroom-app) +- Upgraded Elasticsearch from v2.x to v7.x + +### Features +- [SDESK-6199] Ability to search all wire versions (#8) +- [STTNHUB-139] Ability to prepend embargoed items in wire search results (#16) + +### Improvements +- allow public view to render templates (#9) +- Accessibility and mobile UI improvements & fixes (#10) +- [NHUB-16] Configurable metadata fields for wire compact list (#17) +- [NHUB-21] fix: ENTER button resets search input (#19) +- [NHUB-22] Show list of Authors in Wire Preview (#20) +- [NHUB-39] Show matches in version link for wire list items (#26) +- [NHUB-27] Change embargo label colour when it expires (#27) +- [NHUB-38] Improve list views on mobiles (#28) +- [NHUB-45] allow embargoed items on dashboard (#31) +- [TGA-6] add service to preview tags (#32) +- [NHUB-65] Show/hide global topics using a config (#46) + +### Fixes +- Allow setting NewsAPI URL (#11) +- fix webpack assets handling for docker (#15) +- [STTNHUB-141] fix: Show Share and Save in 3-dot menu from list (#23) +- [NHUB-34] fix: Don't prepend embargoed bookmark items (#22) +- [STTNHUB-142] fix: Server crashes if Monitoring is not loaded (#25) +- [NHUB-32] Apply request filters also with prepend_embargoed param (#24) +- Embargo label fix (#29) +- FIX: facing-issues-while-updating-user-topics (#30) +- [STTNHUB-144] fix search count returned when there are matching embargoed items (#35) +- [NHUB-51] Include image embed descriptions in NITF and NewsMLG2 downloads (#39) +- [NHUB-53] fix-ui: Use Assets endpoint for Image Embeds (#38) +- [CPNHUB-36] fix analytics page view reporting (#43) +- [NHUB-62] fix: Unable to save a topic with notifications enabled (#45) + +## [1.19.4] 2020-10-26 +### Fixes +- Update dependencies + +## [1.19.3] 2020-10-23 +### Features +- News API: add ability to retrieve images + +## [1.19.2] 2020-09-04 +### Improvements +- [SDAN-675] Optional set monitoring email subject to headline (#1073) +- [SDAN-674] make link in RTF file clickable (#1069) (#1072) + +## [1.19.1] 2020-08-21 +### Improvements +- Make ability to download picture configurable (#1067) + +## [1.19.0] 2020-08-18 +### Features +- [SDAN-564] Track copy event on body text (#1061) +- [SDAN-642] Embed logo into RTF monitoring reports (#1055) +- Display credits info on picture view/preview (#1062) +- [SDAN-275] Highlighting wire searches (#1054) +- [SDESK-482] Add expired companies report (#1052) +- [SDCP-221] Add product to url filters (#1053) +- [SDAN-669] Add product subscription report (#1051) +- [SDAN-558] News API NewsFeed endpoint (#990) + +### Improvements +- [SDAN-672] Associate item with planning if published then fulfilled (#1064) +- Update readme & gitignore (#1060) +- [SD-149] - image downloads for stories (#1011) +- [SDAN-652] View and manage Watched Coverages (#993) +- [SDAN-659] Hourly monitoring alerts should send emails on the hour (#991) +- [SDAN-653] Improve product query generation for endpoint services (#974) + + +### Fixes +- [SDESK-5339] (fix): Incorrect Company id for product searches (#1057) +- fix(textformatter) None breaking spaces where missing (#1050) +- fix(news api) text formatter was not working (#1049) +- News API, Add the evolvedfrom field to search and feed response (#1048) +- fix: Missing userType to add remove action (#1045) +- fix(news-api) remove unwanted fields (#1047) +- [SDAN-657] Make HATOAS consistant (#1042) +- fix(build) Pin the version of WTForms and fix failing tests (#1039) +- [SDAN-668] (fix): Attribute error when accessing app.settings (#1026) +- TBC Planning Items were shown in wrong order when Feature/Top story filter was ON (#1022) +- [SDCP-201] - Removing image if the update doesn't have it (#1025) +- [SDAN-666] Sort field for agenda should be dates.start (#1002) +- [SDAN-666] Use 'must' instead of 'should' for Agenda date queries (#999) +- [SDAN-667] Cannot unwatch coverages/Agenda for historic data (#1000) +- [SDAN-661] Use Newsroom.Resource|Service for resource classes (#997) +- [SDAN-660] Cannot set News API expiry to 'Never' (#995) +- use featuremedia for story picture if available (#1041) +- Allow date format override depending on language (#1033) +- fix generating renditions for png images (#994) + +## [1.18.2] 2020-02-25 +### Features +- None + +### Improvements +- None + +### Fixes +- [SDAN-663] Agenda Tile not opening Agenda item on click (#987) +- [SDAN-665] Wire previews text width becomes too narrow if related coverage slugline is too long (#988) + +## [1.18.1] 2020-02-24 +### Features +- None + +### Improvements +- None + +### Fixes +- [SDAN-663] Agenda information not shown on Wire Preview/Detail (#985) +- [SDAN-662] Change the way attachments are send to Celery tasks for Monitoring (#986) + +## [1.18.0] 2020-02-20 +### Features +- News API + - [SDAN-550] Add token resource for news API (#835) + - [SDAN-546] Add 'News API' section filters (#837) + - [SDAN-542] Ability to manage Company API Tokens (#839) + - [SDAN-547] News API time limit setting (#852) + - [SDAN-542] fix(api-key) Unable to set expiry to never (#851) + - [SDAN-551] Initialize the news API app (#862) + - [SDAN-552] Implement API token authentication (#866) + - [SDAN-553] Add Products to the news api (#871) + - [SDAN-556][SDAN-557] News API return item in requested format (#883) + - [SDAN-607] Add NINJS formatter (#885) + - fix(API item expiry) stop the API returning expired items (#887) + - [SDAN-554] Search endpoint for News API (#900) + - [SDAN-554] News API search paging, absolute date search fixes (#934) + - [SDAN-630] Use base class for Web and NewsAPI apps (#950) + - [SDAN-606] (fix): API token expiry stored as string instead of datetime (#946) + - [SDAN-544][SDAN-561] IP whitelisting feature for News API (#947) + - [SDAN-630] (fix): incorrect app import for manage.py (#953) + - [SDAN-560] Rate Limiting for News API (#951) + - [SDAN-563] News API Audit (#952) + - [SDAN-562] Company API Usage report (#955) +- Monitoring + - [SDAN-440] Create and Schedule Watch Lists for a company. also add a section filter (#869) + - [SDAN-440] Watch Lists configuration - minor fixes (#877) + - [SDAN-441] User and Watch List Administrator activities (#884) + - [SDAN-440] Include 'keywords' in watch_list creation and other bug-fixes around watch_list settings feature (#889) + - [SDAN-442] Watch Lists view page (#892) + - [SDAN-443] Watchlists email alerts (#901) + - [SDAN-623] Rename watch_lists to 'monitoring' across the system (#935) + - [SDAN-627] Add monitoring icon (#939) + - [SDAN-633] Formatting monitoring outputs for alerts, exports, share and print (#957) + - Customizing RTF and PDF files to monitoring. (#960) + - [SDAN-633] Allow customisation of monitoring logo (#964) + - [SDAN-647] Add a 'Layout' dropdown option when downloading items from monitoring (#969) + - [SDAN-648] Bug fixes around Monitoring (#971) + - [SDAN-648] Minor style changes to PDF reports in Monitoring (#975) + - [SDAN-648] Line spacings for monitoring PDF report (#980) + +### Improvements +- [SDAN-635] Break words meaningfully on location display in Agenda (#962) +- [SDAN-636] Advertise Scheduled Updates in Newsroom Agenda (#968) +- [SDAN-634] Changes to Agenda tiles displayed on Newsroom wire stories (#965) +- [SDAN-634] Show only other coverages in Agenda tile on wire items (#972) +- [SDAN-651] Reduce size of heading in Agenda Watch email (#978) + +### Fixes +- build fix while using _expand_contact_info in json_event formatter (#963) +- [SDAN-638] Show 'View Content' to Graphic coverages (#961) +- [SDAN-643][SDAN-644]'Reason for' not being displayed for Cancelled Coverages in Agenda, Coverage ednote not seen (#966) +- fix(pytest): Cyclic import error when running single test file (#967) +- [SDAN-655] Previewing an agenda item with a coverage crashes react (#970) +- fix(tests): Use same werkzeug version as eve 0.7.8 (#973) +- [SDAN-649] Share/delete icons not showing in my topic pages (#976) +- [SDAN-654] ContentActivity should report on all versions (#977) +- [SDAN-650][SDAN-656] Story updates are not triggering emails for watched coverages, 'Forbidden' error raised when unwatching certain coverages (#979) +- [SDAN-656] Coverage update repeated in watched coverage email (#981) +- [SDAN-658] fix duplicate take key in slugline view elements (#982) +- [SDAN-654] Add 'anpa_take_key' to elastic query response for ContentActivity (#984) + +## [1.17.1] 2020-01-29 +### Features +- [SDAN-632] ContentActivity report (#954) + +### Improvements +- [SDAN-628] Improve email subject when watching ad-hoc planning item (#942) +- [SDAN-586] Make the 'Superdesk Subscriber Id' column visibility configurable in the Company list (#944) +- [SDAN-624] Display Take Key when Downloading, Copying, Printing and Sharing wire items (#943) + +### Fixes +- [SDAN-639] Notifications dropdown was not fully visible (#941) +- [SDAN-631] The 'PRINT REPORT' action produces a page without any report data (#945) +- fix(push): Exception raised when receiving new completed coverages (#948) +- fix(coverage-href): Catch all exceptions when generating coverage href (#949) +- fix(travis-ci): Force install of google-chrome (#956) + +## [1.17.0] 2019-12-16 +### Features +- [SDAN-614] Watch individual coverages (#910) +- [SDAN-600] Item action to remove wire based items (#928) + +### Improvements +- [SDAN-603] Configure logging to add timestamp for log messages (#890) +- [SDAN-613] Provide byline/hyperlink for featuremedia images (#894) +- [SDCP-110] Adding optional preview configuration for actions in newshub (#905) +- [SDCP-115] Making newsonly toggle optional (#906) +- [SDCP-114] Consent checkbox for user sign up (#908) +- [SDAN-617] Add 'account_manager' to Company report (#915) +- [SDAN-620] Improvements to coverage inquiry email (#913) +- [SDAN-621] Audit Information for forms in the settings (#927) +- [SDAN-622] Append 'anpa_take_key' to slugline in views (#929) +- [SDAN-620] Change to make mail-to common for all email links in the Coverage Inquiry email (#933) +- [SDAN-614] Minor UI changes to watching individual coverages (#930) +- [SDAN-625] Improve rendering performance of Agenda list (#937) + +### Fixes +- [SDAN-616] Use current time to populate date filter for media hrefs (#893) +- PR to fix failing tests due to pytest-mock plugin (#903) +- [SDCP-42] - Download button is disabled in home page (#895) +- fix(my topics): Standard user is unable to search navigations endpoint (#907) +- use single domain for translations (#909) +- [SDAN-610] Photo coverage URL should not be generated on push but on get from the client (#896) +- [SDAN-613] Corrected byline text and hyper-link for photo (#904) +- Fix sending emails via celery (#916) +- fix(dev-requirements): Add responses lib (#918) +- [SDAN-615] Unable to remove all filter parameters from a Topic (#914) +- support mail username config (#921) +- fix tests setup (#920) +- [SDAN-619] Correct tagging for AM Weather (#922) +- [SDAN-615] Unable to empty filters on a topic (#923) +- fix(celery): Incorrect reference to app in dumps/loads (#932) +- fix(celery): Use newsroom.flask_app instead of flask.current_app (#936) + +## [1.16.1] 2019-11-04 +### Features +- None + +### Improvements +- [SDAN-609] Support multi-line internal and editorial note (#886) + +### Fixes +- [SDAN-611] (fix): Invalid URL params in the share topic email (#882) + +## [1.16.0] 2019-10-31 +### Features +- None + +### Improvements +- [SDAN-582] Save topic with multiple navigations (#876) +- [SDAN-581] Allow multi-selecting Navigation topics (#850) + +### Fixes +- [SDAN-605] Image and Video coverages are not showing a 'coverage available' date/time (#874) +- [SDAN-608] 'View Content' button not visible on some coverages in Full View Mode (#873) +- [SDAN-602] 'Update to come' was not clearing when news item related to agenda was published (#868) +- [SDAN-604] Preview of an Event fails if the links attribute is null (#872) +- [SDAN-602] Coverage Status text should not change before an Update has been published (#867) +- [SDAN-582] (fix): Agenda featured toggle not showing (#879) +- [SDAN-582] (fix): Unable to create or update My Agenda topic (#880) +- [SDAN-582] (fix): Cannot share a topic (#881) + +## [1.15.2] 2019-10-17 +### Features +- None + +### Improvements +- Add ANA logo (#856) +- [SDCP-25] Allow new users to register their interests (#857) +- [SDAN-596] Pressing back button on a mobile phone when the preview is open should close the preview (#859) +- [SDAN-599] 'Time to be confirmed' feature for Agenda Items (#860) +- [SDAN-588] Use Topic instead of Events in navigation labels (#863) +- [SDAN-599] Display changes to 'Time to be confirmed' label (#864) + +### Fixes +- Use default Ubuntu in Travis (#853) +- [SDAN-598] fix: Save button not being enabled when turning off topic notifications (#855) +- [SDAN-595] fix(agenda-emails) Use correct url_for method (#854) +- Updating superdesk-core version for newsroom package (#861) + +## [1.15.1] 2019-09-10 +### Features +- None + +### Improvements +- None + +### Fixes +- [SDAN-594] Previewing past or future Agenda item from email displays list not the preview (#848) +- Save Topic and Save Events 'SAVE' button was disabled while saving (#849) + +## [1.15] 2019-09-09 +### Features +- None + +### Improvements +- [SDAN-578][SDAN-579] 'Account Manager' field in Company schema and use that in Company Expiry alerts (#832) +- [SDAN-570] Fixes/Improvements to the 'share' action (#838) +- [SDAN-591] Improve company expiry email layout and text (#841) +- [SDAN-570] Changes to 'share' item template (#842) +- [SDAN-572] Style changes to display 'Event Completed' label (#843) +- [SDAN-568] Improve responsive behaviour for mobile phones (#834) +- [SDAN-568] Further response layout improvements (#844) + +### Fixes +- [SDAN-583] Preview for items that aren't wire or agenda in the Subscriber Activity report don't show the body text (#831) +- [SDAN-580] Remove company expiry check from user login and notifications (#833) +- [SDAN-587] Ignore agenda when applying time limit to search (#836) +- [SDAN-590] (fix): Celery beat and queue configs (#840) +- [SDAN-592] Coverages in the Agenda Share/Print Preview are misaligned (#845) +- [SDAN-593] Show all event coverages if no planning item selected (#847) + +## [1.14] 2019-08-22 +### Features +- [SDAN-538] Add the ability to execute the remove expired command (#817) + +### Improvements +- [SDAN-572] Label completed agenda items as 'Completed' (#829) +- [SDAN-572][SDAN-567] UI changes in displaying 'byline', 'located' and 'slugline' (#823) +- [SDAN-565] Reposition the 'show map' text in Agenda Preview (#821) +- [SDAN-566] Add 'preview' and 'open' to 'actions' filter in subscriber activity report (#822) +- [SDAN-524][SDAN-530] Record 'open' and 'preview' actions in history collection (#815) +- [SDAN-519] Toggle map display in Agenda Preview (#811) + +### Fixes +- [SDAN-585] (fix): Corrections showing up as 'Updates Coming' (#830) +- [SDAN-569] Market Place Bookmarks were not seen (#828) +- UI fix to add padding after 'published' and remove 'on created_time' in wire ite, detail (#826) +- fix creating new dashboard card when there is single dashboard type (#827) +- [SDAN-576] Prefer description_text over body_text for image captions (#825) +- [SDAN-575] Internal note on coverages is visible for public users in Newsroom (#824) +- [SDAN-548] ednote from wire item was not displayed in Agenda coverage. (#818) +- [SDAN-549] Text from wire items were not updating in Agenda preview (#818) +- [SDAN-531] Push errors when event is created from a planning item (#814) +- [SDAN-516] Show agency logos for AAPX (#816) +- [SDAN-535] Add 'located' attribute as 'Location' when a wire item is copied (#813) + +## [1.13.1] 2019-07-18 +- [SDAN-532] Fetch card external item details after loading the page (#812) ## [1.13] 2019-07-16 - [SDAN-529] Fix incorrect coverage scheduled date in Agenda notification email diff --git a/package.json b/package.json index 653ac8d60..9b11b8252 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "newsroom-core", - "version": "0.0.1", + "version": "2.0.0", "license": "GPLv3", "repository": { "type": "git", diff --git a/requirements.txt b/requirements.txt index 711c88f56..1c8189645 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,5 +11,5 @@ PyRTF3>=0.47.5 xhtml2pdf>=0.2.4 # Use develop branch for now (until 2.4 is released, to fix inclusion of `tests` from Superdesk) -git+https://github.com/superdesk/superdesk-core.git@develop#egg=superdesk-core +git+https://github.com/superdesk/superdesk-core.git@46d5140#egg=superdesk-core superdesk-planning==2.3.1 diff --git a/setup.py b/setup.py index e44c7d2cc..ac2877575 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ setup( name='Newsroom-Core', - version='1.0', + version='2.0.0', description='Newsroom Core library', author='Sourcefabric', url='https://github.com/superdesk/newsroom-core',