Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
397c81c
initial commit
misha1235000 Mar 15, 2020
6e8398b
feat: Add shraga authenticate, with jwt signing token, Migrate to ang…
misha1235000 Mar 16, 2020
031806a
feat: Add shraga, team management, audience visualization.
misha1235000 Mar 28, 2020
d80ec43
fix: Fix some bugs/issues, and refactor some code.
Mar 30, 2020
c78f7be
chore: Full clean refactor of spike client project.
misha1235000 Apr 20, 2020
f4a5b6b
fix: CSS fixes, and aligned to rtl the autocomplete.
May 19, 2020
e2f3b62
feat: adds scope managment to the ui
misha1235000 Jun 18, 2020
5fb822f
merge
misha1235000 Jun 18, 2020
f43aafe
Merge branch 'client_version_2' of https://github.com/meateam/SpikeCl…
misha1235000 Jun 18, 2020
9ab5049
Merge branch 'feature/scope-managment' of https://github.com/meateam/…
misha1235000 Jun 18, 2020
feb97c3
fix: Fix the issue of the orphan branch.
misha1235000 Jun 21, 2020
9f57843
fix: Fix token bug, add RelayState, Remove Material icons folder from…
misha1235000 Jun 24, 2020
924e832
chore: Pull changes from merges branch.
misha1235000 Jun 24, 2020
7ee74c8
chore: Fix conflicts
misha1235000 Jun 24, 2020
4fb2a60
Merge pull request #10 from meateam/develop
misha1235000 Jun 24, 2020
cbc0be9
feat: Add filter to the client filtering
misha1235000 Jul 5, 2020
6dc1faa
feat: Add Client-Server integration to get the data from the DB, and …
misha1235000 Jul 14, 2020
cbbe4f5
Merge pull request #12 from meateam/feat/add-client-filtering
shakedmanes Jul 14, 2020
6b91d78
Merge pull request #13 from meateam/feat/add-remove-scope-integration
misha1235000 Jul 14, 2020
80b4916
fix: Fix snackbar, and some duplicate value bugs.
misha1235000 Jul 15, 2020
83f45bf
feat: Add no scopes screen, and a screen in scopes when there are no …
misha1235000 Jul 16, 2020
c17e090
fix: Fix the button loading before the clients finished loading.
misha1235000 Jul 16, 2020
cb32cb5
feat: Add the functionality of adding permitted clients to a scope or…
misha1235000 Jul 16, 2020
c8f1296
Merge pull request #15 from meateam/fix/add-remove-scope-integration
shakedmanes Jul 16, 2020
e326b05
Merge pull request #16 from meateam/feat/add-and-remove-permitted-cli…
shakedmanes Jul 16, 2020
df57976
fix: Fix few bugs with filter permitted clients.
misha1235000 Jul 16, 2020
82514aa
chore: Remove unnecessary comment
shakedmanes Jul 16, 2020
d3cc44e
Merge pull request #17 from meateam/fix/filter-permitted-clients
shakedmanes Jul 16, 2020
6c111e1
Merge pull request #18 from meateam/develop
shakedmanes Jul 19, 2020
66089a3
fix: Fix client deletion to work only when client does not have scopes.
misha1235000 Jul 19, 2020
c903f36
Merge pull request #19 from meateam/fix/client-deletion
shakedmanes Jul 19, 2020
4c68cff
Merge pull request #20 from meateam/develop
shakedmanes Jul 19, 2020
923ba32
fix: Add environment file.
misha1235000 Nov 11, 2020
012f2ad
Delete environment.prod.ts
shakedmanes Nov 11, 2020
eaaeebf
Delete environment.ts
shakedmanes Nov 11, 2020
72ea539
Delete config.ts
shakedmanes Nov 11, 2020
c425f3b
fix: fix environment
misha1235000 Nov 11, 2020
e131e59
fix: fix-environment
misha1235000 Nov 11, 2020
d53d53d
Delete environment.prod.ts
shakedmanes Nov 11, 2020
981b275
chore: Fix spaces design
misha1235000 Nov 11, 2020
6389b36
Merge branch 'fix/client-deletion' of https://github.com/meateam/Spik…
misha1235000 Nov 11, 2020
60f84f3
fix: Add config (deleted by mistake)
misha1235000 Nov 11, 2020
80245be
Delete environment.prod.ts
shakedmanes Nov 11, 2020
d987ca5
fix: Add deleted config
misha1235000 Nov 11, 2020
79c06ed
Merge pull request #23 from meateam/fix/client-deletion
misha1235000 Nov 11, 2020
3d8ff54
feat: Prepare for dockerizing.
misha1235000 Nov 18, 2020
22eea9f
Merge pull request #24 from meateam/feat/dockerize
misha1235000 Nov 18, 2020
276f396
feat: Add changes for dynamic docker .env
misha1235000 Nov 18, 2020
c7e6c6d
Merge pull request #25 from meateam/feat/dockerize
shakedmanes Nov 18, 2020
03e7d02
fix: Fix issue with Decoding JWT.
misha1235000 Nov 24, 2020
181367a
Delete privatekey.pem
misha1235000 Nov 24, 2020
a25edc6
Delete certificate.pem
misha1235000 Nov 24, 2020
0abb129
Delete publickey.pem
misha1235000 Nov 24, 2020
43e14bd
Update .gitignore
misha1235000 Nov 24, 2020
a49ee82
Merge pull request #26 from meateam/misha1235000-patch-1
shakedmanes Nov 24, 2020
86ce355
Merge pull request #27 from meateam/misha1235000-patch-2
shakedmanes Nov 24, 2020
ff4aa1d
Merge pull request #28 from meateam/misha1235000-patch-3
shakedmanes Nov 24, 2020
e5168c8
Merge pull request #29 from meateam/misha1235000-patch-4
shakedmanes Nov 24, 2020
887649a
feat: Add option to see active tokens for a client
shakedmanes Feb 2, 2021
3501f2f
style: Add key icon to the active tokens button
shakedmanes Feb 3, 2021
2012114
style: Change icon of active tokens button
shakedmanes Feb 3, 2021
60c10e6
fix: Fix icon bug in active tokens buttonand change text of number ac…
shakedmanes Feb 4, 2021
817853e
Update scopes.service.ts
misha1235000 Feb 15, 2021
dbfe145
Merge pull request #30 from meateam/feat/count_active_tokens
misha1235000 Feb 15, 2021
49120d1
feat: Add client dashboard and option to add description on client cr…
misha1235000 Mar 8, 2021
55c12a0
feat: New Spike version, new feature explore clients, sidenav upgrade…
misha1235000 Mar 23, 2021
83af02b
Merge pull request #31 from meateam/feat/new_version
shakedmanes Apr 4, 2021
79e2b3e
fix: Fix bugs with the UI overflow.
misha1235000 Apr 7, 2021
f90dec8
Merge pull request #32 from meateam/feat/new_version
shakedmanes Apr 7, 2021
7cba078
chore: Add environment configuration for outside environment and dock…
shakedmanes Apr 7, 2021
8555008
Merge branch 'master' of https://github.com/meateam/SpikeClient
shakedmanes Apr 7, 2021
ea9795f
chore: Add environment files to git
shakedmanes Apr 7, 2021
4769179
fix: Fix few bugs with UI / Design
misha1235000 Apr 12, 2021
f9c5f1c
chore: add environments, remove it from git ignore
misha1235000 Apr 12, 2021
29e1b1c
Merge branch 'master' into fix/fix_bugs
misha1235000 Apr 12, 2021
e914913
Update bottom-sheet.html
shakedmanes Apr 12, 2021
2cd3de1
Update docker-compose.yml
shakedmanes Apr 12, 2021
0d26915
Merge pull request #33 from meateam/fix/fix_bugs
shakedmanes Apr 12, 2021
f66d196
fix: Fix docs ltm to be generic (HTTP/HTTPS)
misha1235000 Apr 13, 2021
7ced7a3
Merge pull request #34 from meateam/fix/docs_ltm
shakedmanes Apr 18, 2021
0c7f43c
fix: Fix docs redirect to new tab, and initial screen to be dashboard.
misha1235000 Apr 19, 2021
9d7e078
Merge pull request #35 from meateam/fix/docs_ltm
shakedmanes Apr 19, 2021
aa47730
feat: Change team creation to be only accessible on prod environment.
misha1235000 Apr 20, 2021
2cc6d77
chore: build --prod added.
misha1235000 Apr 20, 2021
b62a6cc
style: Change Logo.
misha1235000 Apr 22, 2021
54f3349
Merge pull request #36 from meateam/feat/permissions
shakedmanes Apr 22, 2021
3756284
fix: Change env variables for outside environment.
misha1235000 Apr 25, 2021
bfec313
style: Remove contact icon when in outside environment
misha1235000 Apr 25, 2021
a5e6da9
feat: Finish dark theme, a lot of bug fixes.
misha1235000 Apr 26, 2021
3a2495d
Merge pull request #37 from meateam/fix/outside_env
shakedmanes Apr 26, 2021
4f8fd0b
feat: Add option to edit the contact user of a team and view contact …
shakedmanes Aug 30, 2021
a89d56a
Merge pull request #38 from meateam/feat/team_contact_user
AvielV Aug 30, 2021
1ef033e
fix: Add contact user id to updated information (Possibly forgotten)
shakedmanes Sep 12, 2021
83214f9
Merge pull request #39 from meateam/feat/team_contact_user
AvielV Sep 12, 2021
ec99906
chore: Cannot delete contact user and order users by admin
shakedmanes Sep 12, 2021
40ffca0
Merge pull request #40 from meateam/chore/contact_user_update
AvielV Sep 12, 2021
e97451f
feat: matomo event tracking on contactUser button
AvielV Oct 20, 2021
abc00d6
fix: changes in pull request
AvielV Oct 20, 2021
1f69ddb
Merge pull request #41 from meateam/feat/matomo-event-tracker
shakedmanes Oct 20, 2021
3e25240
feat: suport new kartoffel api
AvielV Jan 18, 2022
b1eeba7
Merge pull request #42 from meateam/feat/new_kartoffel
shakedmanes Jan 18, 2022
0ec3fee
Change new shraga version
TamirGraff Jan 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 10 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
node_modules
.gitignore
.git
.vscode
.firebase
.editorconfig
/node_modules
/e2e
*.zip
*.md
9 changes: 9 additions & 0 deletions .dockerignore.save
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
dist
node_modules
.gitignore
.git
.vscodedist
node_modules
.gitignore
.git
.vscode
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Editor configuration, see http://editorconfig.org
# Editor configuration, see https://editorconfig.org
root = true

[*]
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ dist/*

# dotenv environment variables file
.env
.env.copy

# src/environments/*

# next.js build output
.next

/certs

*.tar.gz
*.7z
26 changes: 26 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
###--- STAGE 1 - Build ---###
FROM node:12-alpine as BUILD
WORKDIR /usr/src/app
COPY package*.json ./
COPY tsconfig.json ./
COPY .env ./
RUN cat ./.env | grep NPM_TOKEN | cut -d '=' -f 2- > /tmp/NPM_TOKEN && \
export NPM_TOKEN=$(cat /tmp/NPM_TOKEN) && \
rm /tmp/NPM_TOKEN
RUN echo @yesodot:registry=https://gitlab.com/api/v4/projects/29372887/packages/npm/>> .npmrc
RUN echo //gitlab.com/api/v4/projects/29372887/packages/npm/:_authToken=$(echo $NPM_TOKEN) >> .npmrc
RUN cat .npmrc
RUN npm install
COPY . .
RUN npm run build:prod

###--- STAGE 2 - Production ---###
FROM node:12-alpine as PROD
ENV NODE_ENV=prod
WORKDIR /usr/src/app
COPY --from=BUILD /usr/src/app/node_modules ./node_modules
COPY --from=BUILD /usr/src/app/package*.json ./
COPY --from=BUILD /usr/src/app/dist ./dist
COPY src/certs ./usr/src/app/dist/src/certs
ENTRYPOINT ["node", "/usr/src/app/dist/src/server.js"]

19 changes: 19 additions & 0 deletions Dockerfile.copy
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
###--- STAGE 1 - Build ---###
FROM node:12-alpine as BUILD
WORKDIR /usr/src/app
COPY package*.json ./
COPY tsconfig.json ./
RUN npm install
COPY . .
RUN npm run build:dev

###--- STAGE 2 - Production ---###
FROM node:12-alpine as PROD
ENV NODE_ENV=prod
WORKDIR /usr/src/app
COPY --from=BUILD /usr/src/app/node_modules ./node_modules
COPY --from=BUILD /usr/src/app/package*.json ./
COPY --from=BUILD /usr/src/app/dist ./dist
COPY src/certs ./usr/src/app/dist/src/certs
ENTRYPOINT ["node", "/usr/src/app/dist/src/server.js"]

19 changes: 19 additions & 0 deletions Dockerfile.outside
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
###--- STAGE 1 - Build ---###
FROM node:12-alpine as BUILD
WORKDIR /usr/src/app
COPY package*.json ./
COPY tsconfig.json ./
RUN npm install
COPY . .
RUN npm run build

###--- STAGE 2 - Production ---###
FROM node:12-alpine as PROD
ENV NODE_ENV=prod
WORKDIR /usr/src/app
COPY --from=BUILD /usr/src/app/node_modules ./node_modules
COPY --from=BUILD /usr/src/app/package*.json ./
COPY --from=BUILD /usr/src/app/dist ./dist
COPY src/certs ./usr/src/app/dist/src/certs
ENTRYPOINT ["node", "/usr/src/app/dist/src/server.js"]

17 changes: 17 additions & 0 deletions DockerfileNginx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Stage 1
FROM node:10-alpine as build-step
RUN mkdir -p /app
WORKDIR /app
COPY package.json /app
RUN npm install
RUN npm install -g typescript@3.7.5
COPY . /app
RUN npm run build --prod

# Stage 2
FROM nginx:1.17.1-alpine
COPY --from=build-step /app/dist/SpikeClient /usr/share/nginx/html
RUN mkdir -p /etc/nginx/ssl
COPY nginx.crt /etc/nginx/ssl
COPY nginx.key /etc/nginx/ssl
COPY nginx.conf /etc/nginx
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Spike Client
# SpikeClient

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.0.8.
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 9.0.6.

## Development server

Expand Down
80 changes: 40 additions & 40 deletions angular.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"version": 1,
"newProjectRoot": "projects",
"projects": {
"serverRegisterClient": {
"SpikeClient": {
"projectType": "application",
"schematics": {},
"root": "",
"sourceRoot": "src",
"projectType": "application",
"prefix": "app",
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/serverRegisterClient",
"outputPath": "dist/SpikeClient",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.app.json",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
"src/styles.css"
],
"scripts": []
Expand All @@ -40,88 +42,86 @@
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "serverRegisterClient:build"
"browserTarget": "SpikeClient:build"
},
"configurations": {
"production": {
"browserTarget": "serverRegisterClient:build:production"
"browserTarget": "SpikeClient:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "serverRegisterClient:build"
"browserTarget": "SpikeClient:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
"src/styles.css"
],
"scripts": [],
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"assets": [
"src/favicon.ico",
"src/assets"
]
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
"src/styles.css"
],
"scripts": []
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"serverRegisterClient-e2e": {
"root": "e2e/",
"projectType": "application",
"architect": {
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "serverRegisterClient:serve"
"devServerTarget": "SpikeClient:serve"
},
"configurations": {
"production": {
"devServerTarget": "serverRegisterClient:serve:production"
"devServerTarget": "SpikeClient:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": "e2e/tsconfig.e2e.json",
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "serverRegisterClient"
}
"defaultProject": "SpikeClient"
}
12 changes: 12 additions & 0 deletions browserslist
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries

# You can see what browsers were selected by your queries by running:
# npx browserslist

> 0.5%
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.
13 changes: 13 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: '2.0'
services:
spike-client:
container_name: spike-client
image: spikeproj/spike-client:latest
ports:
- '4200:4200' # Change it if you want
build: .
volumes:
- ./logs:/usr/src/app/logs
restart: always
env_file:
- ./.env
8 changes: 6 additions & 2 deletions e2e/protractor.conf.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
// @ts-check
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts

const { SpecReporter } = require('jasmine-spec-reporter');

/**
* @type { import("protractor").Config }
*/
exports.config = {
allScriptsTimeout: 11000,
specs: [
'./src/**/*.e2e-spec.ts'
],
capabilities: {
'browserName': 'chrome'
browserName: 'chrome'
},
directConnect: true,
baseUrl: 'http://localhost:4200/',
Expand All @@ -21,7 +25,7 @@ exports.config = {
},
onPrepare() {
require('ts-node').register({
project: require('path').join(__dirname, './tsconfig.e2e.json')
project: require('path').join(__dirname, './tsconfig.json')
});
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
}
Expand Down
11 changes: 10 additions & 1 deletion e2e/src/app.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { AppPage } from './app.po';
import { browser, logging } from 'protractor';

describe('workspace-project App', () => {
let page: AppPage;
Expand All @@ -9,6 +10,14 @@ describe('workspace-project App', () => {

it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to serverRegisterClient!');
expect(page.getTitleText()).toEqual('SpikeClient app is running!');
});

afterEach(async () => {
// Assert that there are no errors emitted from the browser
const logs = await browser.manage().logs().get(logging.Type.BROWSER);
expect(logs).not.toContain(jasmine.objectContaining({
level: logging.Level.SEVERE,
} as logging.Entry));
});
});
8 changes: 4 additions & 4 deletions e2e/src/app.po.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { browser, by, element } from 'protractor';

export class AppPage {
navigateTo() {
return browser.get('/');
navigateTo(): Promise<unknown> {
return browser.get(browser.baseUrl) as Promise<unknown>;
}

getParagraphText() {
return element(by.css('app-root h1')).getText();
getTitleText(): Promise<string> {
return element(by.css('app-root .content span')).getText() as Promise<string>;
}
}
Loading