Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SeditioCMS committed Dec 21, 2023
0 parents commit db7b048
Show file tree
Hide file tree
Showing 1,789 changed files with 109,087 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
225 changes: 225 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,225 @@
#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results

[Dd]ebug/
[Rr]elease/
x64/
build/
[Bb]in/
[Oo]bj/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
*.ncrunch*
.*crunch*.local.xml

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.Publish.xml
*.pubxml

# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/

# Windows Azure Build Output
csx
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
App_Data/*.mdf
App_Data/*.ldf

#############
## Windows detritus
#############

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Mac crap
.DS_Store


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist/
build/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg
docs/upgrade/sed_parser.sql
datas/config.php
datas/users/*
datas/thumbs/*
datas/avatars/*
datas/resized/*
plugins/karma/*
plugins/ogmetas/*
plugins/feedback/*
plugins/banstoplist/*
17 changes: 17 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On

#RewriteBase /

RewriteCond %{REQUEST_URI} ^(.*?)\/{2,}(.*?)$
RewriteRule . %1/%2 [L,R=301]
RewriteCond %{THE_REQUEST} //
RewriteRule .* /$0 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L]

</IfModule>
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Seditio CMS

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.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Seditio-179
Seditio 179 (stable release)
88 changes: 88 additions & 0 deletions datas/config.default.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
<?PHP

/* ====================
Seditio - Website engine
Copyright Neocrome & Seditio Team
https://seditio.org
[BEGIN_SED]
File=datas/config.php
Version=179
Updated=2022-jul-15
Type=Config
Author=Seditio Team
Description=Configuration
[END_SED]
==================== */

// ========================
// MySQL database parameters. Change to fit your host.
// ========================

$cfg['mysqlhost'] = 'localhost'; // Database host URL
$cfg['mysqluser'] = 'root'; // Database user
$cfg['mysqlpassword'] = ''; // Database password
$cfg['mysqldb'] = 'seditio'; // Database name

// ========================
// Default skin and default language
// ========================

$cfg['defaultskin'] = 'sympfy'; // Default skin code. Be SURE it's pointing to a valid folder in /skins/... !!
$cfg['defaultlang'] = 'en'; // Default language code
$cfg['adminskin'] = 'sympfy'; // Default admin skin

// ========================
// More settings
// Should work fine in most of cases.
// If you don't know, don't change.
// TRUE = enabled / FALSE = disabled
// ========================

$cfg['sqldbprefix'] = 'sed_'; // Database tables prefix
$cfg['sqldb'] = 'mysql'; // Type of the database engine.
$cfg['site_secret'] = ''; // Site secret key
$cfg['authmode'] = 3; // (1:cookies, 2:sessions, 3:cookies+sessions) default=3
$cfg['redirmode'] = FALSE; // 0 or 1, Set to '1' if you cannot sucessfully log in (IIS servers)
$cfg['ipcheck'] = TRUE; // Will kill the logged-in session if the IP has changed
$cfg['multihost'] = TRUE; // Allow multiple host names for this site

// ========================
// Name of MySQL tables
// (OPTIONAL, if missing, Seditio will set default values)
// Change the $cfg['sqldbprefix'] above if you'd like to
// make 2 separated install in the same database.
// or you'd like to share some tables between 2 sites.
// Else do not change.
// ========================

$db_auth = $cfg['sqldbprefix'] . 'auth';
$db_banlist = $cfg['sqldbprefix'] . 'banlist';
$db_cache = $cfg['sqldbprefix'] . 'cache';
$db_com = $cfg['sqldbprefix'] . 'com';
$db_core = $cfg['sqldbprefix'] . 'core';
$db_config = $cfg['sqldbprefix'] . 'config';
$db_forum_posts = $cfg['sqldbprefix'] . 'forum_posts';
$db_forum_sections = $cfg['sqldbprefix'] . 'forum_sections';
$db_forum_structure = $cfg['sqldbprefix'] . 'forum_structure';
$db_forum_topics = $cfg['sqldbprefix'] . 'forum_topics';
$db_groups = $cfg['sqldbprefix'] . 'groups';
$db_groups_users = $cfg['sqldbprefix'] . 'groups_users';
$db_logger = $cfg['sqldbprefix'] . 'logger';
$db_online = $cfg['sqldbprefix'] . 'online';
$db_pages = $cfg['sqldbprefix'] . 'pages';
$db_parser = $cfg['sqldbprefix'] . 'parser';
$db_pfs = $cfg['sqldbprefix'] . 'pfs';
$db_pfs_folders = $cfg['sqldbprefix'] . 'pfs_folders';
$db_plugins = $cfg['sqldbprefix'] . 'plugins';
$db_pm = $cfg['sqldbprefix'] . 'pm';
$db_polls = $cfg['sqldbprefix'] . 'polls';
$db_polls_options = $cfg['sqldbprefix'] . 'polls_options';
$db_polls_voters = $cfg['sqldbprefix'] . 'polls_voters';
$db_rated = $cfg['sqldbprefix'] . 'rated';
$db_ratings = $cfg['sqldbprefix'] . 'ratings';
$db_referers = $cfg['sqldbprefix'] . 'referers';
$db_smilies = $cfg['sqldbprefix'] . 'smilies';
$db_stats = $cfg['sqldbprefix'] . 'stats';
$db_structure = $cfg['sqldbprefix'] . 'structure';
$db_trash = $cfg['sqldbprefix'] . 'trash';
$db_users = $cfg['sqldbprefix'] . 'users';
Binary file added datas/defaultav/default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions datas/defaultav/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?PHP

/* ====================
Seditio - Website engine
Copyright Neocrome & Seditio Team
https://seditio.org
[BEGIN_SED]
File=datas/defaultav/index.php
Version=179
Updated=2022-jul-15
Type=Core
Author=Seditio Team
Description=Directory blocker
[END_SED]
==================== */

/* ==== Directory blocker ==== */
Binary file added datas/fonts/DroidSans.ttf
Binary file not shown.
Binary file added datas/fonts/FjallaOne.ttf
Binary file not shown.
Binary file added datas/fonts/calibri.ttf
Binary file not shown.
Binary file added datas/fonts/proxima.ttf
Binary file not shown.
Binary file added datas/fonts/verdana.ttf
Binary file not shown.
Loading

0 comments on commit db7b048

Please sign in to comment.