Skip to content

Commit 2b8f924

Browse files
committed
Initial Commit
0 parents  commit 2b8f924

File tree

140 files changed

+27894
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+27894
-0
lines changed

.editorconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = space
8+
indent_size = 4
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.yml]
15+
indent_size = 2

.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
APP_NAME=Anofie-Pro
2+
APP_ENV=local
3+
APP_KEY=base64:tvpEqAYAyWqTG/kh4vdkUeY8+JVLPGvZqTx3eNmU45U=
4+
APP_DEBUG=true
5+
APP_URL=http://anofie_docs.test

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
* text=auto
2+
*.css linguist-vendored
3+
*.scss linguist-vendored
4+
*.js linguist-vendored
5+
CHANGELOG.md export-ignore

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/node_modules
2+
/public/hot
3+
/public/storage
4+
/storage/*.key
5+
/vendor
6+
.env
7+
.phpunit.result.cache
8+
Homestead.json
9+
Homestead.yaml
10+
npm-debug.log
11+
yarn-error.log

.styleci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
php:
2+
preset: laravel
3+
disabled:
4+
- unused_use
5+
finder:
6+
not-name:
7+
- index.php
8+
- server.php
9+
js:
10+
finder:
11+
not-name:
12+
- webpack.mix.js
13+
css: true

README.md

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,155 @@
1+
# Anofie Lite Docs
2+
3+
Welcome to Anofie Lite documentation for initial stable version 1.0
4+
5+
---
6+
7+
![Anofie - Anonymous feedback script remastered](http://anofie-docs.classiebit.com/images/anofie-docs-banner-1.jpg "Anofie - Anonymous feedback script remastered")
8+
9+
10+
> {info.fa-youtube} Here's a complete video tutorial guide for getting started quickly ✌️
11+
12+
---
13+
14+
- [What is Anofie](#What-is-Anofie)
15+
- [Lite Version](#Lite-version)
16+
- [Pro Version](#Pro-version)
17+
- [Credits](#Credits)
18+
19+
<a name="What-is-Anofie"></a>
20+
## What is Anofie
21+
22+
Anofie is an anonymous feedback system. Using Anofie, you can launch your own dedicated platform for Anonymous Feedback on your domain. Anofie is better than the popular anonymous feedback website. It is more secure, scalable & ready to use in production.
23+
24+
<br>
25+
26+
Just **download** it, **install** directly on **your server** and start collecting **honest** suggestions and feedbacks from your friends, employees, or customers in a creative and professional manner.
27+
28+
---
29+
30+
<a name="Lite-version"></a>
31+
## Lite Version
32+
33+
>{primary} This is Anofie Lite version documentation
34+
35+
**Anofie Lite Version** is open-source, free to use. Lite version has got limited features & functionality.
36+
37+
+ [Live](https://anofie.classiebit.com) - Visit lite version live.
38+
+ [Github](https://github.com/classiebit/anofie) - Give us a Star.
39+
+ [Download](https://classiebit.com/anofie) - Visit here to download.
40+
41+
42+
<a name="Pro-version"></a>
43+
## Pro Version
44+
45+
**Anofie Pro Version** comes with **Commercial** license. Pro version is fully loaded with a lot of usefull and exciting features.
46+
47+
+ [Live](https://anofie.com) - Coming soon.
48+
+ [Purchase](https://classiebit.com/anofie-pro) - Subscribe now for notifications, will be soon available for Purchase here
49+
50+
51+
# Installation
52+
53+
Anofie comes with a installer that makes the installation process fully automated and smooth as 🍻
54+
55+
> {primary.fa-youtube} We've made a video for you to get started quickly. Have a look 💪
56+
57+
---
58+
59+
- [Server Requirements](#Server-Requirements)
60+
- [Install](#Install)
61+
62+
63+
<a name="Server-Requirements"></a>
64+
## Server Requirements
65+
66+
* PHP version 5.6 or newer is recommended.
67+
68+
69+
<a name="Install"></a>
70+
## Install
71+
72+
1. Unzip the package.
73+
2. Copy all from the **Anofie package** folder and paste into your website directory.
74+
3. You website directory should look like this.
75+
76+
```bash
77+
78+
example.com
79+
80+
├── application
81+
├── captcha
82+
├── install
83+
├── system
84+
├── themes
85+
├── upload
86+
87+
├── .htaccess
88+
└── index.php
89+
90+
```
91+
92+
4. Visit `example.com/install` to run the installer.
93+
5. Enter database credentials.
94+
6. Choose if you wish to install **with** or **without** dummy data.
95+
7. Click Install to start the installation process.
96+
97+
98+
---
99+
100+
> {info} If installing on local system, please do not create database, just enter localhost database credentials & installer will auto create the new database.
101+
102+
---
103+
104+
> {info} Anofie can also be installed on `subdomain.example.com` or `example.com/subfolder/`
105+
106+
---
107+
108+
> {primary} After installation if you see something like `Error number: 1146 Table settings doesn't exists` or a `blank page`, just hit refresh.
109+
110+
---
111+
112+
# Demo Accounts
113+
114+
Demo accounts have got `demo data` to easily showcase all the features of Anofie.
115+
116+
<br>
117+
1. We refresh the database everyday.
118+
2. While in demo mode, there are no restrictions except -
119+
120+
- Deleting or Disabling user account.
121+
- Changing Username, email, password and profile pic.
122+
123+
124+
---
125+
126+
To test in specific language, we've mentioned language preference after each demo account-
127+
`e.g Roman Pane (Russian)`, so when you login via `romanpane@mail.com` please change the language (see in the footer) to `Russian` to see everything in `Russian`
128+
129+
> {primary} Password is same for all - `password`
130+
131+
1. David lane (English) - `davidlane@mail.com`
132+
2. Cora Woods (English) - `corawoods@mail.com`
133+
134+
3. Roman Pane (Russian) - `romanpane@mail.com`
135+
4. Tara Young (Russian) - `tarayoung@mail.com`
136+
137+
5. Josh Grey (Arabic) - `joshgrey@mail.com`
138+
6. Gina White (Arabic) - `ginawhite@mail.com`
139+
140+
7. Katie Stone (Chinese) - `katiestone@mail.com`
141+
8. Tony Ray (Chinese) - `tonyray@mail.com`
142+
143+
9. Alex Hart (Japanese) - `alexhart@mail.com`
144+
10. Sonia Maxwell (Japanese) - `soniamaxwell@mail.com`
145+
146+
147+
148+
### Accounts having access to `Admin Panel`
149+
150+
1. Semi-Admin (limited admin) - `semiadmin@mail.com`
151+
2. Super-Admin (full access) - `admin@admin.com`
152+
153+
---
154+
155+
>{primary} To visit `Admin Panel` hover over to profile icon in the header.

app/Console/Kernel.php

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?php
2+
3+
namespace App\Console;
4+
5+
use Illuminate\Console\Scheduling\Schedule;
6+
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
7+
8+
class Kernel extends ConsoleKernel
9+
{
10+
/**
11+
* The Artisan commands provided by your application.
12+
*
13+
* @var array
14+
*/
15+
protected $commands = [
16+
//
17+
];
18+
19+
/**
20+
* Define the application's command schedule.
21+
*
22+
* @param \Illuminate\Console\Scheduling\Schedule $schedule
23+
* @return void
24+
*/
25+
protected function schedule(Schedule $schedule)
26+
{
27+
// $schedule->command('inspire')
28+
// ->hourly();
29+
}
30+
31+
/**
32+
* Register the commands for the application.
33+
*
34+
* @return void
35+
*/
36+
protected function commands()
37+
{
38+
$this->load(__DIR__.'/Commands');
39+
40+
require base_path('routes/console.php');
41+
}
42+
}

app/Exceptions/Handler.php

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?php
2+
3+
namespace App\Exceptions;
4+
5+
use Exception;
6+
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
7+
8+
class Handler extends ExceptionHandler
9+
{
10+
/**
11+
* A list of the exception types that are not reported.
12+
*
13+
* @var array
14+
*/
15+
protected $dontReport = [
16+
//
17+
];
18+
19+
/**
20+
* A list of the inputs that are never flashed for validation exceptions.
21+
*
22+
* @var array
23+
*/
24+
protected $dontFlash = [
25+
'password',
26+
'password_confirmation',
27+
];
28+
29+
/**
30+
* Report or log an exception.
31+
*
32+
* @param \Exception $exception
33+
* @return void
34+
*/
35+
public function report(Exception $exception)
36+
{
37+
parent::report($exception);
38+
}
39+
40+
/**
41+
* Render an exception into an HTTP response.
42+
*
43+
* @param \Illuminate\Http\Request $request
44+
* @param \Exception $exception
45+
* @return \Illuminate\Http\Response
46+
*/
47+
public function render($request, Exception $exception)
48+
{
49+
return parent::render($request, $exception);
50+
}
51+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?php
2+
3+
namespace App\Http\Controllers\Auth;
4+
5+
use App\Http\Controllers\Controller;
6+
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
7+
8+
class ForgotPasswordController extends Controller
9+
{
10+
/*
11+
|--------------------------------------------------------------------------
12+
| Password Reset Controller
13+
|--------------------------------------------------------------------------
14+
|
15+
| This controller is responsible for handling password reset emails and
16+
| includes a trait which assists in sending these notifications from
17+
| your application to your users. Feel free to explore this trait.
18+
|
19+
*/
20+
21+
use SendsPasswordResetEmails;
22+
23+
/**
24+
* Create a new controller instance.
25+
*
26+
* @return void
27+
*/
28+
public function __construct()
29+
{
30+
$this->middleware('guest');
31+
}
32+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?php
2+
3+
namespace App\Http\Controllers\Auth;
4+
5+
use App\Http\Controllers\Controller;
6+
use Illuminate\Foundation\Auth\AuthenticatesUsers;
7+
8+
class LoginController extends Controller
9+
{
10+
/*
11+
|--------------------------------------------------------------------------
12+
| Login Controller
13+
|--------------------------------------------------------------------------
14+
|
15+
| This controller handles authenticating users for the application and
16+
| redirecting them to your home screen. The controller uses a trait
17+
| to conveniently provide its functionality to your applications.
18+
|
19+
*/
20+
21+
use AuthenticatesUsers;
22+
23+
/**
24+
* Where to redirect users after login.
25+
*
26+
* @var string
27+
*/
28+
protected $redirectTo = '/home';
29+
30+
/**
31+
* Create a new controller instance.
32+
*
33+
* @return void
34+
*/
35+
public function __construct()
36+
{
37+
$this->middleware('guest')->except('logout');
38+
}
39+
}

0 commit comments

Comments
 (0)