Skip to content
Merged
Show file tree
Hide file tree
Changes from 48 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
3cd30a2
Css
tatevikg1 Feb 25, 2026
b5e79c4
Css + bootstrap
tatevikg1 Feb 25, 2026
b49da9b
Sidebar
tatevikg1 Feb 26, 2026
23a30de
grid
tatevikg1 Feb 26, 2026
e5a566d
sticky
tatevikg1 Feb 26, 2026
3113743
routes
tatevikg1 Feb 26, 2026
c97e79e
Update rest-client and core
tatevikg1 Feb 27, 2026
f698b69
Redirect to home if logged in
tatevikg1 Feb 27, 2026
3af41b4
Exclude api from firewall
tatevikg1 Feb 27, 2026
a9477f4
ApiSessionListener
tatevikg1 Mar 2, 2026
6d656e9
SubscribersController
tatevikg1 Mar 2, 2026
582cdfe
testing
tatevikg1 Mar 2, 2026
56b2e6f
Use tailwind
tatevikg1 Mar 2, 2026
183507f
Subscribers
tatevikg1 Mar 2, 2026
0bfde9d
Subscribers pass data
tatevikg1 Mar 3, 2026
04b4195
Color ext-wf1
tatevikg1 Mar 4, 2026
a781f1a
Align icon with text
tatevikg1 Mar 4, 2026
5be4574
Mobile
tatevikg1 Mar 4, 2026
aa6f146
Filter subscribers
tatevikg1 Mar 4, 2026
58cca2a
Filter subscribers
tatevikg1 Mar 9, 2026
9e22373
Fix: created
tatevikg1 Mar 9, 2026
77c007b
ref: SubscribersController
tatevikg1 Mar 9, 2026
9989080
Fix: loading for SPA
tatevikg1 Mar 9, 2026
e18b4cc
Fix: test
tatevikg1 Mar 9, 2026
0244cc1
Fix: style
tatevikg1 Mar 9, 2026
f8b6b27
Fix: tests
tatevikg1 Mar 9, 2026
781b71a
spa.html.twig
tatevikg1 Mar 9, 2026
4e40cf2
subscriberFilters
tatevikg1 Mar 9, 2026
ef19e4e
find subscriber by email
tatevikg1 Mar 9, 2026
2b22265
find subscriber by email, foreign key and unique id
tatevikg1 Mar 9, 2026
1257a70
download csv
tatevikg1 Mar 9, 2026
cdb7416
Export CSV
tatevikg1 Mar 9, 2026
5732a0c
Apache config
tatevikg1 Mar 10, 2026
f1df0b7
Export filtered
tatevikg1 Mar 10, 2026
1e18e5f
Sort
tatevikg1 Mar 10, 2026
36212bb
Fix: logout
tatevikg1 Mar 11, 2026
48b17d4
Fix: autowiring
tatevikg1 Mar 12, 2026
05ddd4c
Add: auth user data retrieval
tatevikg1 Mar 12, 2026
6efdda9
remove example page
tatevikg1 Mar 13, 2026
6fcb278
Logout button
tatevikg1 Mar 13, 2026
f5d7fda
Add subscriber modal
tatevikg1 Mar 13, 2026
349d2f0
Add details to subscriber modal
tatevikg1 Mar 16, 2026
b0f88ca
install js client
tatevikg1 Mar 16, 2026
b516203
Fix: js client
tatevikg1 Mar 17, 2026
36560f4
Fix: filter
tatevikg1 Mar 17, 2026
b0cd9da
ImportSubscribers
tatevikg1 Mar 17, 2026
c8b3c50
coderabbit config
tatevikg1 Mar 18, 2026
987580e
After review 0
tatevikg1 Mar 18, 2026
2ab57eb
After review 1
tatevikg1 Mar 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
language: "en-US"
tone_instructions: "chill"
reviews:
profile: "chill"
high_level_summary: true
collapse_walkthrough: true
suggested_labels: false
high_level_summary_in_walkthrough: false
changed_files_summary: false
poem: false
finishing_touches:
docstrings:
enabled: false
auto_review:
enabled: true
base_branches:
Expand Down
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@coderabbitai summary

### Summary

Provide a general description of the code changes in your pull request …
Expand Down
16 changes: 8 additions & 8 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

#echo "🔍 Running PHPStan..."
#php vendor/bin/phpstan analyse -l 5 src/ tests/ || exit 1
#
#echo "📏 Running PHPMD..."
#php vendor/bin/phpmd src/ text vendor/phplist/core/config/PHPMD/rules.xml || exit 1
#
#echo "🧹 Running PHPCS..."
#php vendor/bin/phpcs --standard=vendor/phplist/core/config/PhpCodeSniffer/ src/ tests/ || exit 1
echo "🔍 Running PHPStan..."
php vendor/bin/phpstan analyse -l 5 src/ tests/ || exit 1

echo "📏 Running PHPMD..."
php vendor/bin/phpmd src/ text vendor/phplist/core/config/PHPMD/rules.xml || exit 1

echo "🧹 Running PHPCS..."
php vendor/bin/phpcs --standard=vendor/phplist/core/config/PhpCodeSniffer/ src/ tests/ || exit 1
26 changes: 26 additions & 0 deletions apache/web-frontend.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<VirtualHost *:80>
ServerName frontend.phplist.local
ServerAdmin webmaster@localhost

DocumentRoot /{pathToTheProject}/web-frontend/public

ErrorLog ${APACHE_LOG_DIR}/web-frontend-error.log
CustomLog ${APACHE_LOG_DIR}/web-frontend-access.log combined

<Directory /{pathToTheProject}/web-frontend/public>
Options FollowSymLinks
AllowOverride All
Require all granted
DirectoryIndex app.php
</Directory>

<FilesMatch "^\.">
Require all denied
</FilesMatch>

<IfModule proxy_fcgi_module>
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php/php8.1-fpm.sock|fcgi://localhost"
</FilesMatch>
</IfModule>
</VirtualHost>
5 changes: 3 additions & 2 deletions assets/app.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
console.log('app.js loaded');
import './styles/app.css';
import { createApp } from 'vue';
import App from './vue/App.vue';
import { router } from './router';

const appElement = document.getElementById('vue-app');

if (appElement) {
const app = createApp(App);
app.use(router);
app.mount('#vue-app');
app.mount(appElement);
}

Binary file added assets/images/avatar.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 13 additions & 1 deletion assets/router/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
import { createRouter, createWebHistory } from 'vue-router';
import DashboardView from '../vue/views/DashboardView.vue'
import SubscribersView from '../vue/views/SubscribersView.vue'

export const router = createRouter({
history: createWebHistory(),
routes: [ /* ... */ ],
routes: [
{ path: '/', name: 'dashboard', component: DashboardView, meta: { title: 'Dashboard' } },
{ path: '/subscribers', name: 'subscribers', component: SubscribersView, meta: { title: 'Subscribers' } },
{ path: '/:pathMatch(.*)*', redirect: '/' },
],
});

router.afterEach((to) => {
const defaultTitle = 'phpList';
const pageTitle = to.meta.title;
document.title = pageTitle ? `${defaultTitle} - ${pageTitle}` : defaultTitle;
});
16 changes: 16 additions & 0 deletions assets/styles/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@import "tailwindcss";
@tailwind utilities;

@theme {
--color-primary: #2563eb;
--color-secondary: #6b7280;
--color-success: #16a34a;
--color-danger: #dc2626;
--color-info: #0891b2;
--color-ext-wf1: #543ff6; /** indigo-500 **/
--color-ext-wf2: #eef2ff; /** indigo-50 **/
--color-ext-wf3: #303F9F; /** indigo-700 **/
}

@source "../../templates/**/*.twig";
@source "../**/*.vue";
51 changes: 6 additions & 45 deletions assets/vue/App.vue
Original file line number Diff line number Diff line change
@@ -1,52 +1,13 @@
<template>
<aside class="sidebar">
<div class="sidebar__top">
<SidebarLogo />
<div class="min-h-screen bg-[#F8FAFC] flex text-slate-900 font-sans">
<AppSidebar />

<nav class="sidebar__nav">
<SidebarNavSection
v-for="section in sections"
:key="section.id"
v-bind="section"
/>
</nav>
<div class="flex flex-col flex-1 min-h-screen">
<RouterView />
</div>
</aside>
</div>
</template>

<script setup>
import SidebarLogo from './SidebarLogo.vue'
import SidebarNavSection from './SidebarNavSection.vue'

const sections = [
{
id: 'general',
label: 'General',
items: [
{ label: 'Dashboard', icon: 'grid', route: '/dashboard', badge: null },
{ label: 'Subscribers', icon: 'users', route: '/subscribers' },
{ label: 'Lists & Segments', icon: 'list', route: '/lists' },
],
},
{
id: 'marketing',
label: 'Marketing',
items: [
{ label: 'Campaigns', icon: 'plane', route: '/campaigns' },
{ label: 'Templates', icon: 'layout', route: '/templates' },
],
},
{
id: 'analytics',
label: 'Analytics',
items: [
{ label: 'Bounces & Reports', icon: 'chart', route: '/reports' },
],
},
{
id: 'system',
label: 'System',
items: [{ label: 'Settings', icon: 'settings', route: '/settings' }],
},
]
import AppSidebar from './components/sidebar/AppSidebar.vue'
</script>
52 changes: 0 additions & 52 deletions assets/vue/AppSidebar.vue

This file was deleted.

14 changes: 0 additions & 14 deletions assets/vue/BaseCard.vue

This file was deleted.

136 changes: 0 additions & 136 deletions assets/vue/CampaignsTable.vue

This file was deleted.

Loading
Loading