-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:sashko9807/podkrepibg-frontend in…
…to new-donation-flow
- Loading branch information
Showing
170 changed files
with
6,169 additions
and
1,318 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/alpine | ||
{ | ||
"name": "NodeJS", | ||
"image": "ghcr.io/podkrepi-bg/nodejs-devcontainer:v1.2.0", | ||
"forwardPorts": [], // Forward ports | ||
"containerEnv": { | ||
"DATABASE_URL": "postgres://postgres:[email protected]:5432/postgres?schema=api" // Custom env vars | ||
}, | ||
"postStartCommand": "yarn", // Install dependencies | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-azuretools.vscode-docker", | ||
"nrwl.angular-console", | ||
"esbenp.prettier-vscode", | ||
"firsttris.vscode-jest-runner", | ||
"dbaeumer.vscode-eslint" | ||
] | ||
} | ||
}, | ||
"mounts": ["source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,3 +43,5 @@ PAYPAL_CLIENT_ID=sb | |
########### | ||
GHOST_API_URL=https://blog.podkrepi.bg | ||
GHOST_CONTENT_KEY=86ec17c4b9660acd66b6034682 | ||
[email protected] | ||
PODKREPI_PASSWORD=$ecurePa33 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
e2e/tests/regression/campaign-application/campaign-application-create.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { test, expect } from '../../../utils/fixtures' | ||
|
||
test.describe('Create campaign application', () => { | ||
test('should see list of applications', async ({ page, baseURL }) => { | ||
await page.goto(`${baseURL}/admin/campaign-applications`) | ||
|
||
await expect(page.getByRole('heading')).toHaveText('Кандидат Кампании') | ||
// await expect(page.getByRole('row')).toHaveCount(1); // just title b/c no campaign applications yet | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { test as base } from '@playwright/test' | ||
import dotenv from 'dotenv' | ||
|
||
dotenv.config({ path: '../.env.local' }) | ||
dotenv.config({ path: '../.env' }) | ||
|
||
const email = process.env.PODKREPI_EMAIL! | ||
const password = process.env.PODKREPI_PASSWORD! | ||
|
||
export const test = base.extend({ | ||
storageState: async ({ browser, baseURL }, use) => { | ||
const page = await browser.newPage() | ||
await page.goto(`${baseURL}/login`) | ||
|
||
await page.locator('[name=email]').fill(email) | ||
await page.locator('[name=password]').fill(password) | ||
|
||
await page.locator('[type=submit]').click() | ||
await page.waitForURL((url) => !url.pathname.includes('login')) | ||
|
||
const state = await page.context().storageState() | ||
|
||
await page.close() | ||
|
||
use(state) | ||
}, | ||
}) | ||
|
||
/** export the expect for consistency i.e. to be able to do `import { test, expect } from '../utils/fixtures'` */ | ||
export { expect } from 'playwright/test' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+789 KB
public/finance-reports/Podkrepi.bg_Financial_Semiannual_Report_2022.pdf
Binary file not shown.
Binary file added
BIN
+4.27 MB
public/finance-reports/Podkrepi.bg_Financial_Semiannual_Report_2024.pdf
Binary file not shown.
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,15 @@ | ||
{ | ||
"about": { | ||
"title": "Кои сме ние?", | ||
"management-board-members": "Членове на управителен съвет", | ||
"supervisory-board-members": "Членове на надзорен съвет", | ||
"management-board-members": "Членове на Управителен съвет", | ||
"supervisory-board-members": "Членове на Надзорен съвет", | ||
"active-team-members": "Активни членове на екипа", | ||
"association-members": "Членове на сдружението", | ||
"linkedIn": "LinkedIn", | ||
"about-the-team": "За екипа", | ||
"team-description": "Ние сме група доброволци от IT средите, юристи, счетоводители, маркетолози, медици, НПО представители. Обединява ни желанието да създадем подобрена дарителска среда в България, създавайки максимално прозрачна платформа за дарения. Целта ни е платформата да се издържа от членски внос и дарения към нея, а не от процент комисиона от кампаниите, които тя обслужва.", | ||
"avatar-alt-text": "Аватар на член на екипа", | ||
"see-less": "Вижте по-малко", | ||
"see-more": "Вижте повече" | ||
}, | ||
"principlesThatUniteUs": { | ||
"title": "Принципи, които ни обединяват", | ||
"voluntary": { | ||
"heading": "ДОБРОВОЛНО И ПРО БОНО", | ||
"content": "Създаваме дарителска платформа в полза на нуждаещите се и организациите, които им помагат. Не търсим финансови или други облаги от това, освен удовлетвореност от осъществените кампании и подкрепените нуждаещи се." | ||
}, | ||
"proactivity": { | ||
"heading": "ПРОАКТИВНОСТ", | ||
"content": "Не чакаме да ни се подаде задача - взимаме си директно. Стремежът в културата ни на работа е адекватна проява на свободна воля, правилен избор и извършване на задачи, без нуждата някой да ги създава и поставя." | ||
}, | ||
"transparency": { | ||
"heading": "ПРОЗРАЧНОСТ", | ||
"content": "Дарителите ни се доверяват, защото осигуряваме прозрачност чрез отворен код, отворени данни/трансакции, отворени решения. Нуждаещите ни се доверяват, защото правим кандидатстването честно, лесно и прозрачно, чрез ясни критерии. Обществото ни се доверява, защото всичко е прозрачно, в това число - и целият ни работен процес. Ние си имаме доверие, защото има ясни и прозрачни принципи на работа помежду ни." | ||
}, | ||
"respect": { | ||
"heading": "УВАЖЕНИЕ", | ||
"content": "Внимателни сме към хората около нас, уважаваме ги и ако можем, им помагаме. Мнението на всеки има значение, затова слушаме и се опитваме да разберем, какво казват другите." | ||
}, | ||
"expertise": { | ||
"heading": "ЕКСПЕРТНОСТ", | ||
"content": "Когато правим избор или вземаме трудни решения, ги базираме на мнението на експерти с опит в конкретната тема." | ||
}, | ||
"privacy": { | ||
"heading": "ПОВЕРИТЕЛНОСТ", | ||
"content": "Уважаваме и пазим личните данни на всеки нуждаещ се, даряващ или помагащ в процеса, все едно са нашите собствени. Ясно дефинираме кой има права за достъп до оперативните данни, като хората, разработващи проекта, няма да имат достъп до личните такива." | ||
}, | ||
"awareness": { | ||
"heading": "ОСЪЗНАТОСТ", | ||
"content": "Търсим най-доброто решение и когато даряваме труда си, го правим с пълното съзнание, че не всичко, което правим, ще влезе в употреба. Ако се случи така, че да не се одобри планът или предложението ти, продължаваш с усмивка към следващата задача. Ако някой друг се справя по-добре в ролята ти, то на драго сърце го препоръчваш да я оглави, а ти му помагаш с каквото можеш." | ||
}, | ||
"sharing": { | ||
"heading": "СПОДЕЛЯНЕ НА ЗНАНИЯ", | ||
"content": "Ако участник в проекта има нужда от помощ или разяснение, обясняваме или споделяме линк към документацията на проекта, даващ необходимата информация. Хората с по-малко опит имат възможност да се включат и да възприемат знания от по-опитните." | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.