Skip to content

Commit

Permalink
remove everything twitter related
Browse files Browse the repository at this point in the history
  • Loading branch information
DerZade committed Oct 6, 2023
1 parent 4dd77e8 commit 6b88c6d
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 851 deletions.
6 changes: 1 addition & 5 deletions api/config/config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"sso": {
"cookiename": "gruppe-adler-sso-token",
"domain": "https://sso.gruppe-adler.de"
},
"twitter": {
"base64-bearer-token-credentials": "<SET_TOKEN>",
"screen-name": "gruppe_adler"
"domain": "https://sso.gruppe-adler.de"
}
}
6 changes: 0 additions & 6 deletions api/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.1.0",
"ts-node-dev": "^1.0.0",
"twitter-d": "^0.4.0",
"typescript": "^3.9.3"
}
}
4 changes: 2 additions & 2 deletions api/src/database.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import 'reflect-metadata';
import { join } from 'path';
import { Sequelize } from 'sequelize-typescript';
import { Container, Page, HiddenTweet } from './models';
import { Container, Page } from './models';

const sequelize = new Sequelize({
dialect: 'sqlite',
storage: join(__dirname, '../data/database.sqlite'),
logging: false
});

sequelize.addModels([Container, Page, HiddenTweet]);
sequelize.addModels([Container, Page]);
sequelize.sync();

export default sequelize;
14 changes: 0 additions & 14 deletions api/src/models/hiddentweet.model.ts

This file was deleted.

7 changes: 1 addition & 6 deletions api/src/models/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import Page from './page.model';
import Container from './container.model';
import HiddenTweet from './hiddentweet.model';

export {
Page,
Container,
HiddenTweet
};
export { Page, Container };
156 changes: 0 additions & 156 deletions api/src/utils/TwitterService.ts

This file was deleted.

2 changes: 0 additions & 2 deletions api/src/v1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ import { globalErrorHandler } from '../utils/express';
import pageRouter from './routes/page.router';
import containerRouter from './routes/container.router';
import uploadRouter from './routes/upload.router';
import twitterRouter from './routes/twitter.router';
import eventsRouter from './routes/events.router';

const v1Router = Router();

v1Router.use('/page', pageRouter);
v1Router.use('/container', containerRouter);
v1Router.use('/upload', uploadRouter);
v1Router.use('/twitter', twitterRouter);
v1Router.use('/events', eventsRouter);

v1Router.use(globalErrorHandler);
Expand Down
64 changes: 0 additions & 64 deletions api/src/v1/routes/twitter.router.ts

This file was deleted.

13 changes: 0 additions & 13 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"eslint-plugin-vue": "^7.1.0",
"sass": "^1.26.3",
"sass-loader": "^8.0.2",
"twitter-d": "^0.4.0",
"typescript": "~3.8.3",
"vue-template-compiler": "^2.6.12",
"webpack-assets-manifest": "^4.0.0"
Expand Down
Loading

0 comments on commit 6b88c6d

Please sign in to comment.