Skip to content

Commit

Permalink
Update to v0.0.9, check CHANGELOG.md for changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Diemen Design committed Dec 21, 2019
1 parent 1b80341 commit 69b3754
Show file tree
Hide file tree
Showing 42 changed files with 284 additions and 138 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
### v0.0.9
- Complete PayPal transaction order updating.
- Fix service-worker not referencing Logo correctly.
- Fix incorrect ID for input's.
-

### v0.0.8
- Fix SQL error when creating Developer Account in Install.
- Fix SQL error when creating a Developer Account in Install.
- Fix missing SQL prefix from SQL Query at line 326.
- Add Offline Progressive Web Application (PWA) for Front End and Administration.
- Add parser to Featured Items for item counting.
Expand Down
56 changes: 27 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
AuroraCMS the **Free** Australian Open Source [MIT](https://github.com/DiemenDesign/AuroraCMS/blob/master/LICENSE) Content Management System, built primarily for Australian Businesses, built utilising [PHP](http://php.net/), PDO, [jQuery](http://jquery.com/), [Bootstrap](http://getbootstrap.com/), and [iCONS](https://github.com/DiemenDesign/iCONS). Built to take advantage of HTML5 and CSS3, with necessary SEO attributes that fit in with Google's recommendations, Micro-formats, JSON-LD, ARIA (A11Y), and general SEO Markup.

#### Version
We are currently at v0.0.8
We are currently at Version v0.0.9

### FAQ
- Why no Plugins?
Expand All @@ -12,42 +12,43 @@ We are currently at v0.0.8

### Features
- Blog Articles, Portfolio's, Bookings, Events, News, Testimonials, Inventory, Services, Gallery, Proofs, Messages, and Newsletters.
- Content Scheduler. Calendar based Scheduler.
- Content Scheduler with Auto Content Publishing.
- Related Content, either Chosen or Category matched.
- Add and Remove Custom Pages. Submenu custom and existing pages.
- Messaging - Whenever a message is created via the Contact Us page, it is stored in the Messages system as well as emailed.
- Orders - Create Quotes, Invoices. Client viewing of Orders.
- Media - Upload and manage various types of files for addition into content using elFinder.
- Featured Content - Can use Content Items as Featured Content, or Images and HTML Templates uploaded into the `media/carousel/` folder. Which then will get sorted, and number of items displayed depending on the settings attributes in the `featured.html` template file.
- Accounts - Create Accounts for co-workers with Account Types for Administrators, Editors (especially good for SEO and Copywriters), Client's, and Visitors.
- Client Proofs and Commenting
- Easy Theme Selector
- Custom Pages.
- Messaging.
- Whenever a message is created via the Contact Us page, it is stored in the Messages system as well as emailed.
- Live Chat. Choose between the built in Live Chat, or easily integrate Facebook Messenger.
- Orders.
- Create Quotes, Invoices. Client viewing of Orders.
- Send PDF versions of Orders.
- PayPal Integration for accepting PayPal and Credit Card Payments.
- Media.
- Upload and manage various types of files for addition into content using elFinder.
- Featured Content.
- Can use Content Items as Featured Content, or Images and HTML Templates uploaded into the `media/carousel/` folder. Which then will get sorted, and number of items displayed depending on the settings attributes in the `featured.html` template file.
- Accounts.
- Create Accounts for co-workers with Account Types for Administrators, Editors (especially good for SEO and Copywriters), Client's, and Visitors.
- Client Proofs and Commenting.
- Easy Theme Selector.
- Front End Theme Engine using HTML Style Markup, the use of any CSS or Javascript Framework.
- Front End integration uses Vanilla Javascript for back end processing for Form Submission and Event Notification.
- Administration uses jQuery, Modified Bootstrap, iCONS, and other jQuery Addons.
- Activity Fingerprint Analysis Logs of Previous Content Changes with Undo, and who made the changes. Examine Content Inputs with Draggable Popover with Undoing.
- Suggestions Editor to allow Administrators and Content Editor to make Editing Suggestions with Reasons, and Click Adding of Suggestions.
- Security:
- Security.
- Spam Filter than can Auto Blacklist IP's using custom blacklist text files that can be edited.
- Project Honey Pot Integration that can Auto Blacklist when check IP's against the httpBL API Service when forms are submitted via visitors.
- Ability to Add suspicious visitor interactions to Blacklist.
- 30 Day Auto-Clearance of Blacklisted IP's.
- Site Block if visitor's IP is listed in Blacklist, saving servers resources, and to hopefully stop Spammers or Email Harvester's.
- Site Block if visitor's IP is listed in Blacklist, saving server resources, and to hopefully stop Spammers or Email Harvester's.
- Database Backup and ability to Prefix Table Names.
- Blacklist IP's that try to access WordPress based files.
- Blacklist IP's that try to access WordPress based files or attempt WordPress.
- Developer "Lock Down", this stops accounts lower than the developer from taking the website out of "maintenance" or "Coming Soon" modes.
- WYSIWYG Editor Content is encoded to get around some server filters blocking data such as iFrames that services such as YouTube use for Embedding.
- Page and Visitor Tracking.
- SEO Stats within Content, Google (currently broken), Alexa, and Moz.
- Progressive Web Application (PWA) Offline Pages.
- Live Chat.
- Choose between the built in Live Chat, or easily integrate Facebook Messenger.
- Page and Visitor Tracking for Analytics.
- Progressive Web Application (PWA) Service Worker for Offline Pages.
- GDPR Privacy Notice Compliancy.
- For those providing Services and or Products to European Countries.
- For those providing Services and or Products to Countries that require Privacy Cookie Consent.
- Website Voice service. Ability to add a text to speech reader for visually impaired visitors.
- PayPal Integration for accepting PayPal and Credit Card Payments.
- Multiple Custom Summernote (WYSIWYG Editor) Addons, created by Diemen Design:
- summernote-accessibility (In Progress)
- Multiple Custom Summernote (WYSIWYG Editor) Addons, created by Diemen Design.
- [summernote-cleaner](https://github.com/DiemenDesign/summernote-cleaner)
- [summernote-findnreplace](https://github.com/DiemenDesign/summernote-text-findnreplace)
- [summernote-image-attributes](https://github.com/DiemenDesign/summernote-image-attributes)
Expand All @@ -57,19 +58,18 @@ We are currently at v0.0.8
- [summernote-seo](https://github.com/DiemenDesign/summernote-seo)
- [summernote-video-attributes](https://github.com/DiemenDesign/summernote-video-attributes)

You can now get themes from our Themes GitHub Repository @ [AuroraCMS-Themes](https://github.com/DiemenDesign/AuroraCMS-themes)
You can get themes from our Themes GitHub Repository @ [AuroraCMS-Themes](https://github.com/DiemenDesign/AuroraCMS-themes)

### Dependencies
- PHP > 7.0 - Must have PDO, and Password Compat support. If you have tried AuroraCMS with a higher version, please report your experiences.
- Works with PHP 7+. Please make sure PHP Libraries are installed before reporting Issues.
- mod_rewrite
- mod_rewrite or rewrite.
- GD-Image & Imagemagick- AuroraCMS will work without them, but things like Order PDF Viewing, Thumbnails, and image resizing won't work.
- mail services - Are needed for mail notification sending, Orders Sending and for the Newsletters.

#### Integrated Projects:
- [iCONS](https://github.com/DiemenDesign/iCONS)
- [Summernote](https://github.com/summernote/summernote)
- summernote-accessibility (In Progress)
- [summernote-cleaner](https://github.com/DiemenDesign/summernote-cleaner)
- [summernote-findnreplace](https://github.com/DiemenDesign/summernote-text-findnreplace)
- [summernote-image-attributes](https://github.com/DiemenDesign/summernote-image-attributes)
Expand All @@ -87,7 +87,6 @@ You can now get themes from our Themes GitHub Repository @ [AuroraCMS-Themes](ht
- [TCPDF](http://www.tcpdf.org/)
- [Zebra_Image](https://github.com/stefangabos/Zebra_Image)
- [kses](https://github.com/RichardVasquez/kses)
- We've modified kses to include HTML5, and minified the source.
- [elFinder](https://github.com/Studio-42/elFinder)
- [elFinder-bootstrap-theme](https://github.com/DiemenDesign/LibreICONS/tree/master/themes/elFinder)

Expand All @@ -100,7 +99,6 @@ You can now get themes from our Themes GitHub Repository @ [AuroraCMS-Themes](ht
- Windows 7 + WAMP + PHP 5.5 + MySQL

### TODO:
- Add Stripe Payment Services.
- Add Content to the Wiki Pages on how to use AuroraCMS and how to create Templates.
- Add Instructional [Videos to the AuroraCMS YouTube Channel](https://www.youtube.com/channel/UC9vFbrBKmnSgf8TNUBvDX2Q).
- Create Free Templates.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.0.8
v0.0.9
12 changes: 12 additions & 0 deletions core/css/aurora.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
/* AuroraCMS Additions */
@font-face{font-family:"AMC";src:url("../images/amc.ttf")}
body.aurora{background:url(../images/loginbg-dark.jpeg) no-repeat center center fixed;background-size:cover;height:100%}
body.aurora .container{height:90vh}
body.amc *{font-family:amc;font-size:7px}
.card.aurora,
.install.aurora{-webkit-filter:blur(100px);-moz-filter:blur(100px);-ms-filter:blur(100px);-o-filter:blur(100px);filter:blur(100px);-webkit-animation:blur 1s linear forwards;-moz-animation:blur 1s linear forwards;-ms-animation:blur 1s linear forwards;-o-animation:blur 1s linear forwards;animation:blur 1s linear forwards}
.llama{position:fixed;z-index:2000;top:auto;left:-50px;bottom:0;width:48px;height:42px;background:url(../images/llama.png) left center;animation:llamaplay 1s steps(10) 2000,llamarun 30s normal linear}
.camel{position:fixed;z-index:2000;top:auto;left:-50px;bottom:0;width:48px;height:42px;background:url(../images/camel.png) left center;animation:camelplay 1s steps(13) 2000,camelrun 30s normal linear}
.flymo{position:fixed;z-index:2000;top:auto;right:-100px;bottom:0;width:48px;height:42px;background:url(../images/hover.png) left center;animation:flymoplay 1s steps(4) 2000,flymorun 35s normal linear}
.flymo:after{content:'';position:absolute;z-index:2000;top:0;left:-48px;width:48px;height:42px;background:url(../images/hovermower.png) left center}
@keyframes llamaplay{100%{background-position:-480px}}
@keyframes llamarun{100%{left:105%;}}
@keyframes camelplay{100%{background-position:-624px}}
@keyframes camelrun{100%{left:105%;}}
@keyframes flymoplay{100%{background-position:192px}}
@keyframes flymorun{100%{right:100%;}}
@-webkit-keyframes blur{
from{background:rgba(230,67,67,1);background:-webkit-gradient(left top,right top,color-stop(0%,rgba(230,67,67,1)),color-stop(100%,rgba(93,255,84,1)));background:-webkit-linear-gradient(left,rgba(230,67,67,1)0%,rgba(93,255,84,1)100%);background:linear-gradient(to right,rgba(230,67,67,1)0%,rgba(93,255,84,1)100%)}
to{background-color:#343a40!important;-webkit-filter:blur(0);filter:blur(0)}
Expand Down
6 changes: 4 additions & 2 deletions core/css/seohelper.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ body.depth * * * * * * * * * *{background-color:rgba(255,0,0,.1)}
@-webkit-keyframes slide{0%{transform:scale(1)}50%{opacity:.5;transform:scale(2)}100%{transform:scale(1)}}
@-o-keyframes slide{0%{transform:scale(1)}50%{opacity:.5;transform:scale(2)}100%{transform:scale(1)}}
@keyframes slide{0%{transform:scale(1)}50%{opacity:.5;transform:scale(2)}100%{transform:scale(1)}}
div.development{position:relative;height:24px;background-color:#2f353a!important;background-image:url(../images/developmentmode.png)!important;background-repeat:repeat-x}
div.development,
div.developmentbottom{position:relative;height:24px;background-color:#2f353a!important;background-image:url(../images/developmentmode.png)!important;background-repeat:repeat-x}
div.developmentbottom{position:fixed;top:auto;right:0;bottom:0;left:0;text-align:right;padding:2px 5px;color:#fff;font-family:sans-serif;font-size:14px}
div.development:after{content:'Breakpoint Width > ALL (max-width:575.98px)';z-index:9999;position:absolute;top:2px;left:2px;color:#fff;font-family:sans-serif;font-size:14px;padding:2px 5px}
div.development:before{content:'Current Width: ' attr(data-width) 'px';z-index:9999;position:absolute;top:2px;right:2px;color:#fff;font-family:sans-serif;font-size:14px;padding:2px 5px}
div.development:before{content:'Current Width: 'attr(data-width)'px';z-index:9999;position:absolute;top:2px;right:2px;color:#fff;font-family:sans-serif;font-size:14px;padding:2px 5px}
@media (max-width:361px){
div.development{height:48px}
div.development:before{top:26px}
Expand Down
Binary file added core/images/amc.ttf
Binary file not shown.
Binary file added core/images/ancipital1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added core/images/ancipital2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added core/images/camel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added core/images/flymo.ogg
Binary file not shown.
Binary file added core/images/hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added core/images/hovermower.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added core/images/llama.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions core/js/js.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
!function(global){"use strict";function keydown(e){var id,k=e?e.keyCode:event.keyCode;if(!held[k]){held[k]=!0;for(id in sequences)sequences[id].keydown(k)}}function keyup(e){var k=e?e.keyCode:event.keyCode;held[k]=!1}function resetHeldKeys(){var k;for(k in held)held[k]=!1}function on(obj,type,fn){obj.addEventListener?obj.addEventListener(type,fn,!1):obj.attachEvent&&(obj["e"+type+fn]=fn,obj[type+fn]=function(){obj["e"+type+fn](window.event)},obj.attachEvent("on"+type,obj[type+fn]))}var cheet,Sequence,sequences={},keys={backspace:8,tab:9,enter:13,"return":13,shift:16,"⇧":16,control:17,ctrl:17,"⌃":17,alt:18,option:18,"⌥":18,pause:19,capslock:20,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,left:37,L:37,"←":37,up:38,U:38,"↑":38,right:39,R:39,"→":39,down:40,D:40,"↓":40,insert:45,"delete":46,0:48,1:49,2:50,3:51,4:52,5:53,6:54,7:55,8:56,9:57,a:65,b:66,c:67,d:68,e:69,f:70,g:71,h:72,i:73,j:74,k:75,l:76,m:77,n:78,o:79,p:80,q:81,r:82,s:83,t:84,u:85,v:86,w:87,x:88,y:89,z:90,"⌘":91,command:91,kp_0:96,kp_1:97,kp_2:98,kp_3:99,kp_4:100,kp_5:101,kp_6:102,kp_7:103,kp_8:104,kp_9:105,kp_multiply:106,kp_plus:107,kp_minus:109,kp_decimal:110,kp_divide:111,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123,equal:187,"=":187,comma:188,",":188,minus:189,"-":189,period:190,".":190},NOOP=function(){},held={};Sequence=function(str,next,fail,done){var i;for(this.str=str,this.next=next?next:NOOP,this.fail=fail?fail:NOOP,this.done=done?done:NOOP,this.seq=str.split(" "),this.keys=[],i=0;i<this.seq.length;++i)this.keys.push(keys[this.seq[i]]);this.idx=0},Sequence.prototype.keydown=function(keyCode){var i=this.idx;return keyCode!==this.keys[i]?void(i>0&&(this.reset(),this.fail(this.str),cheet.__fail(this.str))):(this.next(this.str,this.seq[i],i,this.seq),cheet.__next(this.str,this.seq[i],i,this.seq),void(++this.idx===this.keys.length&&(this.done(this.str),cheet.__done(this.str),this.reset())))},Sequence.prototype.reset=function(){this.idx=0},cheet=function(str,handlers){var next,fail,done;"function"==typeof handlers?done=handlers:null!==handlers&&void 0!==handlers&&(next=handlers.next,fail=handlers.fail,done=handlers.done),sequences[str]=new Sequence(str,next,fail,done)},cheet.disable=function(str){delete sequences[str]},on(window,"keydown",keydown),on(window,"keyup",keyup),on(window,"blur",resetHeldKeys),on(window,"focus",resetHeldKeys),cheet.__next=NOOP,cheet.next=function(fn){cheet.__next=null===fn?NOOP:fn},cheet.__fail=NOOP,cheet.fail=function(fn){cheet.__fail=null===fn?NOOP:fn},cheet.__done=NOOP,cheet.done=function(fn){cheet.__done=null===fn?NOOP:fn},cheet.reset=function(id){var seq=sequences[id];return seq instanceof Sequence?void seq.reset():void console.warn("cheet: Unknown sequence: "+id)},global.cheet=cheet,"function"==typeof define&&define.amd?define([],function(){return cheet}):"undefined"!=typeof module&&null!==module&&(module.exports=cheet)}(this);
cheet('a s t i n k y o x',function(){var r=Math.floor(Math.random()*(3-1+1))+1;if(r==1){if($(".llama").length<5){$('body').addClass('amc');$('<div class="llama"></div>').appendTo('body').delay(30000).queue(function(){$(this).remove();if($('.llama').length==0&&$('.camel').length==0&&$('.flymo').length==0)$('body').removeClass('amc');});}else r=2;}if(r==2){if($(".camel").length<5){$('body').addClass('amc');$('<div class="camel"></div>').appendTo('body').delay(30000).queue(function(){$(this).remove();if($('.llama').length==0&&$('.camel').length==0&&$('.flymo').length==0)$('body').removeClass('amc');});}else r=3;}if(r==3){if($(".flymo").length<1){$('body').addClass('amc');$('<div class="flymo"><audio id="flymo" src="core/images/flymo.ogg" autoplay loop hidden volume="0.25"></audio></div>').appendTo('body').delay(35000).queue(function(){$(this).remove();if($('.llama').length==0&&$('.camel').length==0&&$('.flymo').length==0)$('body').removeClass('amc');});var audio=document.getElementById("flymo");audio.volume=.1;}}});
$('[data-tooltip="tooltip"]').tooltip();
$('#panel-rst').submit(function(){
$('#rstbusy').html('<i class="libre libre-spinner-1"></i>');
Expand Down
21 changes: 17 additions & 4 deletions core/js/service-worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
* @author Dennis Suitters <[email protected]>
* @copyright 2014-2019 Diemen Design
* @license http://opensource.org/licenses/MIT MIT License
* @version 0.0.8
* @version 0.0.9
* @link https://github.com/DiemenDesign/AuroraCMS
* @notes This PHP Script is designed to be executed using PHP 7+
* @changes v0.0.9 Fix referencing Logo
*/
header('Content-Type: application/javascript');
header('Service-Worker-Allowed:/');
Expand All @@ -20,6 +21,19 @@
if(!defined('THEME'))define('THEME','..'.DS.'..'.DS.'layout'.DS.$config['theme']);
if(!defined('URL'))define('URL',PROTOCOL.$_SERVER['HTTP_HOST'].$settings['system']['url'].'/');
$html=file_get_contents(THEME.DS."offline.html");
$logo=THEME.DS.'images'.DS.'offlinelogo.png';
if(file_exists(THEME.DS.'images'.DS.'offlinelogo.jpg'))
$logo=THEME.DS.'images'.DS.'offlinelogo.jpg';
elseif(file_exists(THEME.DS.'images'.DS.'logo.png'))
$logo=THEME.DS.'images'.DS.'logo.png';
elseif(file_exists(THEME.DS.'images'.DS.'logo.jpg'))
$logo=THEME.DS.'images'.DS.'logo.jpg';
elseif(file_exists(THEME.DS.'images'.DS.str_replace(' ','-',$config['business']).'.png'))
$logo=THEME.DS.'images'.DS.str_replace(' ','-',$config['business']).'.png';
elseif(file_exists(THEME.DS.'images'.DS.str_replace(' ','-',$config['business']).'.jpg'))
$logo=THEME.DS.'images'.DS.str_replace(' ','-',$config['business']).'.jpg';
else
$logo=THEME.DS.'images'.DS.'offlinelogo.png';
$html=preg_replace([
'/<print seo=[\'\"]?title[\'\"]?>/',
'/<print css=[\'\"]?bootstrap[\'\"]?>/',
Expand All @@ -34,9 +48,7 @@
($config['business']!=''?$config['business']:'AuroraCMS Offline'),
file_get_contents(THEME.DS.'css'.DS.'bootstrap.min.css'),
file_get_contents(THEME.DS.'css'.DS.'offline.css'),
(file_exists(THEME.DS.'images'.DS.'offlinelogo.png')?
'data:'.mime_content_type(THEME.DS.'images'.DS.'offlinelogo.png').';base64,'.base64_encode(file_get_contents(THEME.DS.'images'.DS.'offlinelogo.png')):
'data:'.mime_content_type(THEME.DS.'images'.DS.'logo.png').';base64,'.base64_encode(file_get_contents(THEME.DS.'images'.DS.'logo.png'))),
'data:'.mime_content_type($logo).';base64,'.base64_encode(file_get_contents($logo)),
($config['business']!=''?$config['business']:'AuroraCMS Offline Logo'),
($config['email']!=''?'Email: <a href="mailto:'.$config['email'].'">'.$config['email'].'</a>':''),
($config['phone']!=''?'Phone: <a href="tel:'.$config['phone'].'">'.$config['phone'].'</a>':''),
Expand All @@ -56,6 +68,7 @@
return cache.addAll(offlineFallbackPages);
})
);
self.skipWaiting();
});

self.addEventListener('fetch',event=>{
Expand Down
Loading

0 comments on commit 69b3754

Please sign in to comment.