Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
syed-alizain authored Apr 25, 2023
0 parents commit bfe296e
Show file tree
Hide file tree
Showing 173 changed files with 19,927 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
languages:
JavaScript: true
Python: true
3 changes: 3 additions & 0 deletions .fireq.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"elastic": 7
}
24 changes: 24 additions & 0 deletions .github/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
version: "3.2"

services:
elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.1
ports:
- "9200:9200"
environment:
- discovery.type=single-node
tmpfs:
- /usr/share/elasticsearch/data

redis:
image: redis:alpine
ports:
- "6379:6379"

mongo:
image: mongo:4.4
ports:
- "27017:27017"
tmpfs:
- /data/db

22 changes: 22 additions & 0 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Publish Docker Images

on:
release:
types: [released]

jobs:
push_to_dockerhub:
name: Push Docker images to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push image
run: docker-compose build && docker-compose push
33 changes: 33 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "Lint"

on: [push, pull_request]

defaults:
run:
working-directory: server

jobs:

black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- run: pip install black
- run: black --diff .

flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- run: pip install flake8
- run: flake8

mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- run: pip install mypy
- run: mypy .
68 changes: 68 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: "Test"

on: [push, pull_request]

jobs:

server:

strategy:
matrix:
python-version: ['3.8', '3.10']

runs-on: ubuntu-latest

defaults:
run:
working-directory: server

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
<<<<<<< HEAD
python-version: ${{ matrix.python-version }}
=======
python-version: 3.8
>>>>>>> origin/master

- run: |
sudo apt-get update
sudo apt-get -y install libxml2-dev libxmlsec1-dev libxmlsec1-openssl libexempi-dev
- run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install -r dev-requirements.txt
client:

strategy:
matrix:
node-version: ['12.x', '14.x']

runs-on: ubuntu-latest

defaults:
run:
working-directory: client

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- run: npm install

- run: npm run build

docker:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- run: docker-compose build
49 changes: 49 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
.env
.python-version
/.project
/.pydevproject
*.pyc
*.swp
*.swo
*.pid
*#
.#*
*TAGS
.ropeproject
/data
static/*
upload/*
.coverage
cover
celerybeatschedule.db*
env/
bin/
lib/
man/
/server/src/
dist/
node_modules
.settings
po/
report/
screenshots/
coverage/
e2e-test-results/
*.sublime-workspace
*.sublime-project
nbproject/
coveralls.json
lcov.info
build/
include/
.idea/
.vagrant/
/client/.tern-project
/server/.project
/server/.pydevproject
/server/.settings/org.eclipse.core.resources.prefs
/results/
/superdesk-content-api/
client/index.html
client/templates-cache.js
client/npm-debug.log
10 changes: 10 additions & 0 deletions .landscape.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
doc-warnings: true
max-line-length: 140
requirements:
- server/requirements.txt
pylint:
disable:
- super-on-old-class
- unused-variable
- missing-super-argument
- old-style-class
165 changes: 165 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@

## Superdesk Changelog

## [2.5.0] 2022-09-29

### Bug

[SDESK-6584](https://sofab.atlassian.net/browse/SDESK-6584) The "Quick List" of macros is not populating

[SDESK-6582](https://sofab.atlassian.net/browse/SDESK-6582) The event date is incorrectly formatted in the ical file generated for an assignment.

[SDESK-6570](https://sofab.atlassian.net/browse/SDESK-6570) Planning: Page crashes when uploading XMP file to picture coverage

[SDESK-6567](https://sofab.atlassian.net/browse/SDESK-6567) Superdesk search malfunctions

[SDESK-6566](https://sofab.atlassian.net/browse/SDESK-6566) Store one keyword as an array when Image \(IPTC metadata\) parser is used

[SDESK-6561](https://sofab.atlassian.net/browse/SDESK-6561) Planning preview shows all Agenda items regardless

[SDESK-6550](https://sofab.atlassian.net/browse/SDESK-6550) HTTP Ingest uses older TLS version which fails to connect to source provider on newer OSs

[SDESK-6549](https://sofab.atlassian.net/browse/SDESK-6549) Unable to open articles for editing

[SDESK-6543](https://sofab.atlassian.net/browse/SDESK-6543) Small issue when creating media contact

[SDESK-6542](https://sofab.atlassian.net/browse/SDESK-6542) Clear filters malfunction in planning

[SDESK-6541](https://sofab.atlassian.net/browse/SDESK-6541) Remove from featured stories in 'feature stories' section does not work

[SDESK-6526](https://sofab.atlassian.net/browse/SDESK-6526) Problem publishing item from a desk to internal destination

[SDESK-6524](https://sofab.atlassian.net/browse/SDESK-6524) Image category is not saving

[SDESK-6522](https://sofab.atlassian.net/browse/SDESK-6522) Embargo information is not ingested from NINJS sources

[SDESK-6521](https://sofab.atlassian.net/browse/SDESK-6521) Custom workspace - Monitoring settings - DONE button malfunctions

[SDESK-6505](https://sofab.atlassian.net/browse/SDESK-6505) If a template is set as a desk default template for ANY desk, it becomes available for all desks

[SDESK-6504](https://sofab.atlassian.net/browse/SDESK-6504) Unlocking of events and planning items has issues

[SDESK-6499](https://sofab.atlassian.net/browse/SDESK-6499) Analytics: Desk Activity report does not display any data when running a report

[SDESK-6490](https://sofab.atlassian.net/browse/SDESK-6490) Analytics: Highcharts export server must be installed for email reports to work

[SDESK-6489](https://sofab.atlassian.net/browse/SDESK-6489) Analytics: Add html\_field\_analyzer elastic tokenizer for stats type

[SDESK-6477](https://sofab.atlassian.net/browse/SDESK-6477) Issues with mark for user function

[SDESK-6442](https://sofab.atlassian.net/browse/SDESK-6442) Image content profile's Terms of use pre-populated value invalid

[SDESK-6435](https://sofab.atlassian.net/browse/SDESK-6435) Unable to ingest event that contains attachment

[SDESK-6432](https://sofab.atlassian.net/browse/SDESK-6432) media items are not removed from mongo when expired

[SDESK-6430](https://sofab.atlassian.net/browse/SDESK-6430) Gallery items not showing in multi edit

[SDESK-6429](https://sofab.atlassian.net/browse/SDESK-6429) Exit button in multi edit disappears swiftly

[SDESK-6425](https://sofab.atlassian.net/browse/SDESK-6425) delayed frontend response after publish action \(and when loading the item history in the preview\)

[SDESK-6423](https://sofab.atlassian.net/browse/SDESK-6423) Photo byline can’t be removed from Ingested Image

[SDESK-6412](https://sofab.atlassian.net/browse/SDESK-6412) Existing media contacts are not appearing in the list

[SDESK-6409](https://sofab.atlassian.net/browse/SDESK-6409) clicking on Refresh button few times brings up no items

[SDESK-6407](https://sofab.atlassian.net/browse/SDESK-6407) Mange events template action yields to a blank page in planning

[SDESK-6406](https://sofab.atlassian.net/browse/SDESK-6406) Group name in event and planning profile does not match the name field but the language one

[SDESK-6405](https://sofab.atlassian.net/browse/SDESK-6405) When all header and content profile fields are removed from content profile, this is not saved

[SDESK-6396](https://sofab.atlassian.net/browse/SDESK-6396) Users tab on masterdesk is blank

[SDESK-6390](https://sofab.atlassian.net/browse/SDESK-6390) Upload of media in multi edit does not work

[SDESK-6377](https://sofab.atlassian.net/browse/SDESK-6377) Error when cropping a .PNG image

[SDESK-6375](https://sofab.atlassian.net/browse/SDESK-6375) Slugline \(TOPIC\) field is read only but can be populated by automatically offered value

[SDESK-6373](https://sofab.atlassian.net/browse/SDESK-6373) Issue when more than one embed is in the body

[SDESK-6372](https://sofab.atlassian.net/browse/SDESK-6372) Table controls are not visible when scrolling down

[SDESK-6360](https://sofab.atlassian.net/browse/SDESK-6360) Template language is not forgotten after the Language field is removed from respective content profile

[SDESK-6342](https://sofab.atlassian.net/browse/SDESK-6342) Save issues in featured stories window

[SDESK-6341](https://sofab.atlassian.net/browse/SDESK-6341) Confusing featured stories workflow

[SDESK-6324](https://sofab.atlassian.net/browse/SDESK-6324) Private templates filter does not work

[SDESK-6305](https://sofab.atlassian.net/browse/SDESK-6305) Cannot mark as completed recurring events created from planning

[SDESK-6226](https://sofab.atlassian.net/browse/SDESK-6226) SAMS - 3 dots menu visibility issues

[SDESK-5881](https://sofab.atlassian.net/browse/SDESK-5881) Possible to upload attachments without filling in the mandatory fields

[SDESK-2321](https://sofab.atlassian.net/browse/SDESK-2321) Unsaved changes are not exported, user should be warned

### Epic

[SDESK-6500](https://sofab.atlassian.net/browse/SDESK-6500) Superdesk 2.5

### Improvement

[SDESK-6569](https://sofab.atlassian.net/browse/SDESK-6569) Planning: Create a new config option to enable/disable sending emails to the assignee even when they made the change

[SDESK-6568](https://sofab.atlassian.net/browse/SDESK-6568) Planning: As an administrator I would like to make the "Related Plannings" widget in the Event editor read-only

[SDESK-6564](https://sofab.atlassian.net/browse/SDESK-6564) Planning: Missing toggle in Content Profiles to enable/disable "All Day" Event toggle

[SDESK-6431](https://sofab.atlassian.net/browse/SDESK-6431) Improvements for the top Assignments and Mark for me widgets on top panel

[SDESK-6421](https://sofab.atlassian.net/browse/SDESK-6421) optimize content api audit storage when listing items

[SDESK-6420](https://sofab.atlassian.net/browse/SDESK-6420) avoid calls to s3 when generating urls to media items

[SDESK-6338](https://sofab.atlassian.net/browse/SDESK-6338) On spike/unspike update the 'last updated' field

[SDESK-6180](https://sofab.atlassian.net/browse/SDESK-6180) Show all required fields from associated media templates in Upload media dialog

### Story

[SDESK-6355](https://sofab.atlassian.net/browse/SDESK-6355) As an editor I want to deschedule various items at once

[SDESK-6331](https://sofab.atlassian.net/browse/SDESK-6331) As a SD admin I want to update the metadata section by uploading \(or referencing\) a settings file

[SDESK-6212](https://sofab.atlassian.net/browse/SDESK-6212) Introduce Subscriber Types endpoint

### Task

[SDESK-6598](https://sofab.atlassian.net/browse/SDESK-6598) release final version SD 2.5

[SDESK-6562](https://sofab.atlassian.net/browse/SDESK-6562) display ingested embargo info in superdesk

[SDESK-6538](https://sofab.atlassian.net/browse/SDESK-6538) Smoke test SD2.5 Planning

[SDESK-6494](https://sofab.atlassian.net/browse/SDESK-6494) create superdesk 2.5-rc1 release

[SDESK-6388](https://sofab.atlassian.net/browse/SDESK-6388) add loading indicators to the "Publish Queue"

[SDESK-6387](https://sofab.atlassian.net/browse/SDESK-6387) add loading indicators to the assignment page

[SDESK-6376](https://sofab.atlassian.net/browse/SDESK-6376) Separate Feature Preview from other View options

[SDESK-6357](https://sofab.atlassian.net/browse/SDESK-6357) Add a new checkbox to the user profile

[SDESK-6340](https://sofab.atlassian.net/browse/SDESK-6340) Provide a UI for the upload/download of settings files

[SDESK-6227](https://sofab.atlassian.net/browse/SDESK-6227) Expose body editor's link pre-populated protocol as setting in config file

[SDESK-6224](https://sofab.atlassian.net/browse/SDESK-6224) Accent removal option for search in superdesk

[SDESK-5810](https://sofab.atlassian.net/browse/SDESK-5810) Add styling for refactored content profiles

## [2.4.0] 2022-02-28

Superdesk 2.4.0 release.

## [Version 1.0 beta-1] - 2016-04-25

First official public release.

Loading

0 comments on commit bfe296e

Please sign in to comment.