Compare commits

...

14 Commits

Author SHA1 Message Date
Fatih Alp
3658be4a44
Update README.md 2025-06-30 14:59:21 +03:00
Fatih Alp
7c206dd392
Merge pull request #1370 from openclassify/fatihalp3
Fatihalp3
2024-06-29 23:12:48 +03:00
Fatih Alp
18193f00d7
Delete webpack.mix.js 2024-04-14 01:04:43 +03:00
Vedat AKDOĞAN
85339d41b0
Create .env.example 2023-12-01 16:01:20 +03:00
Muammer Topçu
38c3438e52
Merge pull request #1366 from openclassify/queued-reset-password-email-link-issue 2023-10-30 09:48:45 +03:00
MostafaMoradii
156e18b600
reset password email link issue.
when we are using a queue system to send Emails. we encountered a problem with the reset link in the email. To solve it, I changed the sending of this email from queue mode to instant mode.
2023-10-27 18:25:21 +03:00
Erhan
5eec7c127b
Merge pull request #1365 from openclassify/serdarekremcakir-patch-1
deleted private theme settings
2023-10-19 14:53:43 +03:00
Serdar Cakir
8130534405
deleted private theme settings 2023-10-19 14:48:22 +03:00
Fatih Alp
938855b302
Merge pull request #1361 from openclassify/erhanask-patch-1
Update CONTRIBUTING.md
2023-08-22 19:12:15 +03:00
Fatih Alp
ed42318732
Merge pull request #1363 from openclassify/emrullahardc-patch-1
Create LICENSE.md
2023-08-22 19:05:53 +03:00
emrullahardc
a3c98b1e34
Create LICENSE.md 2023-08-22 18:52:35 +03:00
Erhan
0c23163a57
Update CONTRIBUTING.md 2023-08-10 10:18:08 +03:00
Fatih Alp
bac028312a Change end of lines 2023-08-05 16:33:38 +03:00
Fatih Alp
050bca13e5 Introduce end-of-line normalization 2023-08-01 20:50:53 +03:00
9 changed files with 152 additions and 141 deletions

View File

@ -1,23 +1,23 @@
APP_NAME=oc APP_NAME=oc
APP_ENV=production APP_ENV=production
INSTALLED="false" INSTALLED="false"
APP_URL_TYPE="HTTP_X_FORWARDED_HOST" APP_URL_TYPE="HTTP_X_FORWARDED_HOST"
APP_KEY=DYKEBxfEHK1PP4mUbP3gWPtsPZgXh0qX APP_KEY=DYKEBxfEHK1PP4mUbP3gWPtsPZgXh0qX
APP_DEBUG=true APP_DEBUG=true
DEBUG_BAR=true DEBUG_BAR=true
DB_CONNECTION=mysql DB_CONNECTION=mysql
#DB_HOST=mysql #DB_HOST=mysql
DB_HOST=host.docker.internal DB_HOST=host.docker.internal
DB_DATABASE=oc DB_DATABASE=oc
DB_USERNAME=oc DB_USERNAME=oc
DB_PASSWORD=oc DB_PASSWORD=oc
APPLICATION_NAME=Default APPLICATION_NAME=Default
APPLICATION_REFERENCE=default APPLICATION_REFERENCE=default
ADMIN_USERNAME=admin ADMIN_USERNAME=admin
ADMIN_EMAIL=admin@example.com ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=admin ADMIN_PASSWORD=admin
APP_LOCALE=en APP_LOCALE=en
APP_TIMEZONE=UTC APP_TIMEZONE=UTC
REDIS_CLIENT=phpredis REDIS_CLIENT=phpredis
REDIS_HOST=redis REDIS_HOST=redis
REDIS_PORT=6379 REDIS_PORT=6379

16
.env.example Normal file
View File

@ -0,0 +1,16 @@
APP_ENV=local
INSTALLED=false
APP_KEY=spNWIbUUSkRICcUwBGOaDzgwWsLjqUVq
DB_CONNECTION=mysql
DB_HOST=localhost
DB_DATABASE=forge
DB_USERNAME=forge
DB_PASSWORD=forge
APPLICATION_NAME=Default
APPLICATION_REFERENCE=default
ADMIN_USERNAME=$adminUserName
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=admin123
LOCALE=en
AUTO_TOKEN=spNWITUUSkRICcUwBGOaDzGwWsLqUVqX
APP_TIMEZONE=UTC

20
LICENSE.md Normal file
View File

@ -0,0 +1,20 @@
# The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -12,9 +12,8 @@
</a> </a>
<a href="https://packagist.org/packages/openclassify/openclassify" target="_blank"><img class="badge" src="http://poser.pugx.org/openclassify/openclassify/downloads"></a> <a href="https://packagist.org/packages/openclassify/openclassify" target="_blank"><img class="badge" src="http://poser.pugx.org/openclassify/openclassify/downloads"></a>
<a href="https://packagist.org/packages/openclassify/openclassify" target="_blank"><img class="badge" src="http://poser.pugx.org/openclassify/openclassify/license"></a> <a href="https://packagist.org/packages/openclassify/openclassify" target="_blank"><img class="badge" src="http://poser.pugx.org/openclassify/openclassify/license"></a>
<a href="https://scrutinizer-ci.com/g/openclassify/openclassify/?branch=master" rel="nofollow"><img src="https://camo.githubusercontent.com/b1809c56d5b15765dabaf72c173e7f9aba9e7b721ccb0036e9db5da62869e6b1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f70656e636c6173736966792f6f70656e636c6173736966792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572" alt="Scrutinizer Code Quality" data-canonical-src="https://scrutinizer-ci.com/g/openclassify/openclassify/badges/quality-score.png?b=master" style="max-width: 100%;"></a>
<a href="https://scrutinizer-ci.com/g/openclassify/openclassify/build-status/master" rel="nofollow"><img src="https://camo.githubusercontent.com/07509845a0eab157141235a794cd09967425222639d63d640d689763250f0da3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f70656e636c6173736966792f6f70656e636c6173736966792f6261646765732f6275696c642e706e673f623d6d6173746572" alt="Build Status" data-canonical-src="https://scrutinizer-ci.com/g/openclassify/openclassify/badges/build.png?b=master" style="max-width: 100%;"></a>
<a href="https://scrutinizer-ci.com/code-intelligence" rel="nofollow"><img src="https://camo.githubusercontent.com/9fcde20119b3a44e430ad50f1bb3c2db3db753df9c3b2ade5cd14217a0a971ab/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f70656e636c6173736966792f6f70656e636c6173736966792f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572" alt="Code Intelligence Status" data-canonical-src="https://scrutinizer-ci.com/g/openclassify/openclassify/badges/code-intelligence.svg?b=master" style="max-width: 100%;"></a>
</p> </p>

View File

@ -2,8 +2,6 @@
use Anomaly\Streams\Platform\Notification\Message\MailMessage; use Anomaly\Streams\Platform\Notification\Message\MailMessage;
use Anomaly\UsersModule\User\Contract\UserInterface; use Anomaly\UsersModule\User\Contract\UserInterface;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Notification; use Illuminate\Notifications\Notification;
/** /**
@ -13,11 +11,8 @@ use Illuminate\Notifications\Notification;
* @author PyroCMS, Inc. <support@pyrocms.com> * @author PyroCMS, Inc. <support@pyrocms.com>
* @author Ryan Thompson <ryan@pyrocms.com> * @author Ryan Thompson <ryan@pyrocms.com>
*/ */
class ActivateYourAccount extends Notification implements ShouldQueue class ActivateYourAccount extends Notification
{ {
use Queueable;
/** /**
* Redirect here after activating. * Redirect here after activating.
* *

View File

@ -16,11 +16,6 @@ INSERT INTO `{application_reference}_settings_settings` (`created_at`, `created_
('2019-07-15 06:48:46', 1, '2019-07-15 06:53:05', 1, 'streams::enabled_locales', 'a:11:{i:0;s:2:\"en\";i:1;s:2:\"fa\";i:2;s:2:\"ar\";i:3;s:2:\"el\";i:4;s:2:\"es\";i:5;s:2:\"fr\";i:6;s:2:\"it\";i:7;s:2:\"nl\";i:8;s:2:\"pt\";i:9;s:2:\"ru\";i:10;s:2:\"tr\";}'), ('2019-07-15 06:48:46', 1, '2019-07-15 06:53:05', 1, 'streams::enabled_locales', 'a:11:{i:0;s:2:\"en\";i:1;s:2:\"fa\";i:2;s:2:\"ar\";i:3;s:2:\"el\";i:4;s:2:\"es\";i:5;s:2:\"fr\";i:6;s:2:\"it\";i:7;s:2:\"nl\";i:8;s:2:\"pt\";i:9;s:2:\"ru\";i:10;s:2:\"tr\";}'),
('2020-09-25 11:10:13', 1, '2020-09-25 11:10:13', 1, 'visiosoft.module.advs::latest-limit', '24'), ('2020-09-25 11:10:13', 1, '2020-09-25 11:10:13', 1, 'visiosoft.module.advs::latest-limit', '24'),
('2020-09-25 11:10:14', 1, '2020-09-25 11:10:14', 1, 'visiosoft.module.advs::popular_ads_limit', '15'), ('2020-09-25 11:10:14', 1, '2020-09-25 11:10:14', 1, 'visiosoft.module.advs::popular_ads_limit', '15'),
('2020-10-01 10:12:38', 1, '2020-10-01 10:12:38', 1, 'visiosoft.theme.sahibinden::banner_web', '462'),
('2020-09-25 11:12:33', 1, '2020-10-01 15:22:19', 1, 'visiosoft.theme.sahibinden::home_bottom', '<p><img alt=\"Home bottom\" src=\"/files/images/home_bottom.jpg\"></p>'),
('2020-09-25 11:12:33', 1, '2020-10-01 15:11:10', 1, 'visiosoft.theme.sahibinden::home_bottom_left_categories', '<p><img src=\"/files/images/home-bottom-left-categories.jpg\"></p>'),
('2020-09-25 11:12:33', 1, '2020-10-01 15:11:10', 1, 'visiosoft.theme.sahibinden::home_top_latestAds', '<p><img src=\"/files/images/home-top-latestads.jpg\"></p>'),
('2020-09-25 11:12:33', 1, '2020-10-01 15:11:10', 1, 'visiosoft.theme.sahibinden::home_bottom_latestAds', '<p><img alt=\"Home bottom latestads\" src=\"/files/images/home-bottom-latestads.jpg\"></p>'),
('2020-11-12 06:58:45', 1, '2020-11-16 14:25:22', 1, 'streams::mail_driver', 'log') ('2020-11-12 06:58:45', 1, '2020-11-16 14:25:22', 1, 'streams::mail_driver', 'log')
ON DUPLICATE KEY UPDATE `id` = VALUES(`id`), `sort_order` = VALUES(`sort_order`), `created_at` = VALUES(`created_at`), `created_by_id` = VALUES(`created_by_id`), `updated_at` = VALUES(`updated_at`), `updated_by_id` = VALUES(`updated_by_id`), `key` = VALUES(`key`), `value` = VALUES(`value`); ON DUPLICATE KEY UPDATE `id` = VALUES(`id`), `sort_order` = VALUES(`sort_order`), `created_at` = VALUES(`created_at`), `created_by_id` = VALUES(`created_by_id`), `updated_at` = VALUES(`updated_at`), `updated_by_id` = VALUES(`updated_by_id`), `key` = VALUES(`key`), `value` = VALUES(`value`);
@ -28,4 +23,4 @@ COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

View File

@ -1,87 +1,88 @@
volumes: volumes:
db-store: db-store:
psysh-store: psysh-store:
configs: configs:
db-config: db-config:
file: ./docker/mysql/my.cnf file: ./docker/mysql/my.cnf
services: services:
php: php:
build: build:
context: . context: .
dockerfile: ./docker/php/Dockerfile dockerfile: ./docker/php/Dockerfile
target: ${APP_BUILD_TARGET:-development} target: ${APP_BUILD_TARGET:-development}
container_name: oc_php container_name: oc_php
volumes: volumes:
- type: bind - type: bind
source: ./ source: ./
target: /workspace target: /workspace
- type: volume - type: volume
source: psysh-store source: psysh-store
target: /root/.config/psysh target: /root/.config/psysh
volume: volume:
nocopy: true nocopy: true
depends_on: depends_on:
database: database:
condition: service_healthy condition: service_healthy
extra_hosts: extra_hosts:
- "host.docker.internal:host-gateway" - "host.docker.internal:host-gateway"
nginx: nginx:
build: build:
context: . context: .
dockerfile: ./docker/nginx/Dockerfile dockerfile: ./docker/nginx/Dockerfile
container_name: ${APP_NAME}_nginx container_name: ${APP_NAME}_nginx
ports: ports:
- target: 80 - target: 80
published: ${WEB_PUBLISHED_PORT:-80} published: ${WEB_PUBLISHED_PORT:-80}
protocol: tcp protocol: tcp
mode: host mode: host
volumes: volumes:
- type: bind - type: bind
source: ./ source: ./
target: /workspace target: /workspace
depends_on: depends_on:
- php - php
- database - database
database: database:
build: build:
context: . context: .
dockerfile: ./docker/mysql/Dockerfile dockerfile: ./docker/mysql/Dockerfile
command: --max_allowed_packet=32505856 # Set max_allowed_packet to 256M (or any other value) command: --max_allowed_packet=32505856 # Set max_allowed_packet to 256M (or any other value)
ports: ports:
- target: 3306 - target: 3306
published: ${DB_PUBLISHED_PORT:-3306} published: ${DB_PUBLISHED_PORT:-3306}
protocol: tcp protocol: tcp
mode: host mode: host
configs: configs:
- source: db-config - source: db-config
target: /etc/my.cnf target: /etc/my.cnf
volumes: volumes:
- type: volume - type: volume
source: db-store source: db-store
target: /var/lib/mysql target: /var/lib/mysql
volume: volume:
nocopy: true nocopy: true
environment: environment:
- MYSQL_DATABASE=${DB_DATABASE:-laravel} - MYSQL_DATABASE=${DB_DATABASE:-laravel}
- MYSQL_USER=${DB_USERNAME:-phper} - MYSQL_USER=${DB_USERNAME:-phper}
- MYSQL_PASSWORD=${DB_PASSWORD:-secret} - MYSQL_PASSWORD=${DB_PASSWORD:-secret}
- MYSQL_ROOT_PASSWORD=${DB_PASSWORD:-secret} - MYSQL_ROOT_PASSWORD=${DB_PASSWORD:-secret}
healthcheck: healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"] test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
timeout: 5s timeout: 5s
retries: 10 retries: 10
phpmyadmin: phpmyadmin:
image: phpmyadmin/phpmyadmin:latest image: phpmyadmin/phpmyadmin:latest
ports: ports:
- "8081:80" - "8081:80"
depends_on: depends_on:
- database - database
environment: environment:
PMA_USER: oc PMA_USER: oc
PMA_PASSWORD: oc PMA_PASSWORD: oc
PMA_HOSTS: database,localhost PMA_HOSTS: database,localhost
UPLOAD_LIMIT: 10G

View File

@ -24,7 +24,7 @@ Some of those might be more urgent than the others, and sometimes you might be u
* Don't use hyperbole. ("always", "never", "endlessly", "nothing") Don't use sarcasm. * Don't use hyperbole. ("always", "never", "endlessly", "nothing") Don't use sarcasm.
* Remember that you're both on the same side - the goal is to make the code better. Understand that sometimes your ideas will be overruled. Even if you do turn out to be right, don't take revenge or say, "I told you so". * Remember that you're both on the same side - the goal is to make the code better. Understand that sometimes your ideas will be overruled. Even if you do turn out to be right, don't take revenge or say, "I told you so".
* Talk synchronously (e.g. chat, screensharing, in person) if there are too many "I didn't understand" or "Alternative solution:" comments. Pull requests should not be the place for long discussions, architectural or otherwise. * Talk synchronously (e.g. chat, screensharing, in person) if there are too many "I didn't understand" or "Alternative solution:" comments. Pull requests should not be the place for long discussions, architectural or otherwise.
* Put notes on what's missing or could be improved in the PR description or comments. You can also make a Trello card with discussions points and possible problems or things to do and discuss it offline. * Put notes on what's missing or could be improved in the PR description or comments. You can also create an issue with discussion points and possible problems or things to do and discuss it offline.
## As a code submitter ## As a code submitter

View File

@ -1,15 +0,0 @@
const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel applications. By default, we are compiling the CSS
| file for the application as well as bundling up all the JS files.
|
*/
mix.js('resources/assets/js/app.js', 'public/js')
.vue().version();