summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/change.log0
-rw-r--r--data/example/channels.php15
-rw-r--r--data/example/users.php40
-rw-r--r--data/example/version.php7
-rw-r--r--data/release/README.md6
-rw-r--r--data/release/upcoming/yymmdd_hhiiss_developer_short-description.php.example9
6 files changed, 77 insertions, 0 deletions
diff --git a/data/change.log b/data/change.log
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/data/change.log
diff --git a/data/example/channels.php b/data/example/channels.php
new file mode 100644
index 0000000..13a6b6a
--- /dev/null
+++ b/data/example/channels.php
@@ -0,0 +1,15 @@
+<?php
+/*
+ * @package AJAX_Chat
+ * @author Sebastian Tschan
+ * @copyright (c) Sebastian Tschan
+ * @license Modified MIT License
+ * @link https://blueimp.net/ajax/
+ */
+
+// List containing the custom channels:
+$channels = array();
+
+// Sample channel list:
+$channels[0] = 'Public';
+$channels[1] = 'Private';
diff --git a/data/example/users.php b/data/example/users.php
new file mode 100644
index 0000000..564f36c
--- /dev/null
+++ b/data/example/users.php
@@ -0,0 +1,40 @@
+<?php
+/*
+ * @package AJAX_Chat
+ * @author Sebastian Tschan
+ * @copyright (c) Sebastian Tschan
+ * @license Modified MIT License
+ * @link https://blueimp.net/ajax/
+ */
+
+// List containing the registered chat users:
+$users = array();
+/*
+ // Sample admin user:
+ $users[1] = array();
+ $users[1]['userRole'] = AJAX_CHAT_ADMIN;
+ $users[1]['userName'] = 'admin';
+ $users[1]['password'] = 'admin';
+ $users[1]['channels'] = array(0,1);
+
+ // Sample moderator user:
+ $users[2] = array();
+ $users[2]['userRole'] = AJAX_CHAT_MODERATOR;
+ $users[2]['userName'] = 'moderator';
+ $users[2]['password'] = 'moderator';
+ $users[2]['channels'] = array(0,1);
+
+ // Sample registered user:
+ $users[3] = array();
+ $users[3]['userRole'] = AJAX_CHAT_USER;
+ $users[3]['userName'] = 'user';
+ $users[3]['password'] = 'user';
+ $users[3]['channels'] = array(0,1);
+*/
+
+// Default guest user (don't delete this one):
+$users[0] = array();
+$users[0]['userRole'] = AJAX_CHAT_GUEST;
+$users[0]['userName'] = null;
+$users[0]['password'] = null;
+$users[0]['channels'] = array(0);
diff --git a/data/example/version.php b/data/example/version.php
new file mode 100644
index 0000000..e71f22b
--- /dev/null
+++ b/data/example/version.php
@@ -0,0 +1,7 @@
+<?php
+/**
+ * @author stev leibelt <artodeto@bazzline.net>
+ * @since 2014-08-14
+ */
+
+return '0.8.7'; \ No newline at end of file
diff --git a/data/release/README.md b/data/release/README.md
new file mode 100644
index 0000000..a47b973
--- /dev/null
+++ b/data/release/README.md
@@ -0,0 +1,6 @@
+# Release Directory Content
+
+The main idea is to group "upgrade todos" per version directories.
+
+The files inside each directory have to include independent steps.
+"The sky is the limit" (but don't break the sky). As seen in the example file, you have access to the application and therefor access to everything you probably need.
diff --git a/data/release/upcoming/yymmdd_hhiiss_developer_short-description.php.example b/data/release/upcoming/yymmdd_hhiiss_developer_short-description.php.example
new file mode 100644
index 0000000..bd2b81b
--- /dev/null
+++ b/data/release/upcoming/yymmdd_hhiiss_developer_short-description.php.example
@@ -0,0 +1,9 @@
+<?php
+/**
+ * @author stev leibelt <artodeto@bazzline.net>
+ * @since 2014-08-20
+ */
+
+/** @var AbstractApplication $application */
+$application = $this->application;
+$this->output->addLine(__FILE__);