├── .editorconfig ├── .github └── issue_template.md ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── composer.json ├── extend.php ├── js ├── admin.js ├── dist │ ├── admin.js │ ├── admin.js.map │ ├── forum.js │ └── forum.js.map ├── forum.js ├── package.json ├── src │ ├── admin │ │ ├── addSettingsPage.js │ │ ├── components │ │ │ └── SettingsPage.js │ │ └── index.js │ ├── common │ │ ├── helpers │ │ │ └── rankLabel.js │ │ ├── index.js │ │ └── models │ │ │ └── Rank.js │ └── forum │ │ ├── components │ │ ├── AddAttributes.js │ │ ├── AddHotnessSort.js │ │ ├── AddVoteButtons.js │ │ ├── RankingsPage.js │ │ ├── VoteNotification.js │ │ └── VotesModal.js │ │ └── index.js └── webpack.config.js ├── migrations ├── 2017_04_09_224815_create_posts_votes_table.php ├── 2017_04_09_225024_add_votes_to_users.php ├── 2017_04_24_094425_add_hotness_to_discussions.php ├── 2017_04_25__133721_add_default_vote_permissions.php ├── 2017_04_26_202436_create_users_ranks_table.php ├── 2017_04_26_202644_create_ranks_table.php ├── 2017_08_11_225322_add_default_ranking_permission.php ├── 2017_09_05_214452_add_time_attribute_to_users.php ├── 2018_08_02_110300_rename_users_ranks_to_rank_user.php └── 2018_08_02_110400_rename_posts_votes_to_post_votes.php ├── resources ├── less │ ├── admin │ │ └── extension.less │ ├── forum │ │ └── extension.less │ └── lib │ │ └── rankLabel.less └── locale │ ├── en.yml │ ├── es.yml │ ├── fr.yml │ ├── it.yml │ ├── pl.yml │ └── pt-br.yml ├── scripts ├── compile.sh └── push.sh └── src ├── Access └── DiscussionPolicy.php ├── Api ├── Controllers │ ├── ConvertLikesController.php │ ├── CreateRankController.php │ ├── DeleteRankController.php │ ├── DeleteTopImageController.php │ ├── ListRanksController.php │ ├── OrderByPointsController.php │ ├── UpdateRankController.php │ └── UploadTopImageController.php └── Serializers │ └── RankSerializer.php ├── Commands ├── CreateRank.php ├── CreateRankHandler.php ├── DeleteRank.php ├── DeleteRankHandler.php ├── EditRank.php └── EditRankHandler.php ├── Events └── PostWasVoted.php ├── Gambit └── HotGambit.php ├── Gamification.php ├── Likes.php ├── Listeners ├── AddRelationships.php ├── EventHandlers.php ├── FilterDiscussionListByHotness.php └── SaveVotesToDatabase.php ├── Notification └── VoteBlueprint.php ├── Rank.php ├── Validator └── RankValidator.php └── Vote.php /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/issue_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/.github/issue_template.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/composer.json -------------------------------------------------------------------------------- /extend.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/extend.php -------------------------------------------------------------------------------- /js/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/admin.js -------------------------------------------------------------------------------- /js/dist/admin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/dist/admin.js -------------------------------------------------------------------------------- /js/dist/admin.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/dist/admin.js.map -------------------------------------------------------------------------------- /js/dist/forum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/dist/forum.js -------------------------------------------------------------------------------- /js/dist/forum.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/dist/forum.js.map -------------------------------------------------------------------------------- /js/forum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/forum.js -------------------------------------------------------------------------------- /js/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/package.json -------------------------------------------------------------------------------- /js/src/admin/addSettingsPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/src/admin/addSettingsPage.js -------------------------------------------------------------------------------- /js/src/admin/components/SettingsPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/src/admin/components/SettingsPage.js -------------------------------------------------------------------------------- /js/src/admin/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/src/admin/index.js -------------------------------------------------------------------------------- /js/src/common/helpers/rankLabel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/src/common/helpers/rankLabel.js -------------------------------------------------------------------------------- /js/src/common/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /js/src/common/models/Rank.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/src/common/models/Rank.js -------------------------------------------------------------------------------- /js/src/forum/components/AddAttributes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/src/forum/components/AddAttributes.js -------------------------------------------------------------------------------- /js/src/forum/components/AddHotnessSort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/src/forum/components/AddHotnessSort.js -------------------------------------------------------------------------------- /js/src/forum/components/AddVoteButtons.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/src/forum/components/AddVoteButtons.js -------------------------------------------------------------------------------- /js/src/forum/components/RankingsPage.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/src/forum/components/RankingsPage.js -------------------------------------------------------------------------------- /js/src/forum/components/VoteNotification.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/src/forum/components/VoteNotification.js -------------------------------------------------------------------------------- /js/src/forum/components/VotesModal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/src/forum/components/VotesModal.js -------------------------------------------------------------------------------- /js/src/forum/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/src/forum/index.js -------------------------------------------------------------------------------- /js/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/js/webpack.config.js -------------------------------------------------------------------------------- /migrations/2017_04_09_224815_create_posts_votes_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/migrations/2017_04_09_224815_create_posts_votes_table.php -------------------------------------------------------------------------------- /migrations/2017_04_09_225024_add_votes_to_users.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/migrations/2017_04_09_225024_add_votes_to_users.php -------------------------------------------------------------------------------- /migrations/2017_04_24_094425_add_hotness_to_discussions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/migrations/2017_04_24_094425_add_hotness_to_discussions.php -------------------------------------------------------------------------------- /migrations/2017_04_25__133721_add_default_vote_permissions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/migrations/2017_04_25__133721_add_default_vote_permissions.php -------------------------------------------------------------------------------- /migrations/2017_04_26_202436_create_users_ranks_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/migrations/2017_04_26_202436_create_users_ranks_table.php -------------------------------------------------------------------------------- /migrations/2017_04_26_202644_create_ranks_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/migrations/2017_04_26_202644_create_ranks_table.php -------------------------------------------------------------------------------- /migrations/2017_08_11_225322_add_default_ranking_permission.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/migrations/2017_08_11_225322_add_default_ranking_permission.php -------------------------------------------------------------------------------- /migrations/2017_09_05_214452_add_time_attribute_to_users.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/migrations/2017_09_05_214452_add_time_attribute_to_users.php -------------------------------------------------------------------------------- /migrations/2018_08_02_110300_rename_users_ranks_to_rank_user.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/migrations/2018_08_02_110300_rename_users_ranks_to_rank_user.php -------------------------------------------------------------------------------- /migrations/2018_08_02_110400_rename_posts_votes_to_post_votes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/migrations/2018_08_02_110400_rename_posts_votes_to_post_votes.php -------------------------------------------------------------------------------- /resources/less/admin/extension.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/resources/less/admin/extension.less -------------------------------------------------------------------------------- /resources/less/forum/extension.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/resources/less/forum/extension.less -------------------------------------------------------------------------------- /resources/less/lib/rankLabel.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/resources/less/lib/rankLabel.less -------------------------------------------------------------------------------- /resources/locale/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/resources/locale/en.yml -------------------------------------------------------------------------------- /resources/locale/es.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/resources/locale/es.yml -------------------------------------------------------------------------------- /resources/locale/fr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/resources/locale/fr.yml -------------------------------------------------------------------------------- /resources/locale/it.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/resources/locale/it.yml -------------------------------------------------------------------------------- /resources/locale/pl.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/resources/locale/pl.yml -------------------------------------------------------------------------------- /resources/locale/pt-br.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/resources/locale/pt-br.yml -------------------------------------------------------------------------------- /scripts/compile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/scripts/compile.sh -------------------------------------------------------------------------------- /scripts/push.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/scripts/push.sh -------------------------------------------------------------------------------- /src/Access/DiscussionPolicy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Access/DiscussionPolicy.php -------------------------------------------------------------------------------- /src/Api/Controllers/ConvertLikesController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Api/Controllers/ConvertLikesController.php -------------------------------------------------------------------------------- /src/Api/Controllers/CreateRankController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Api/Controllers/CreateRankController.php -------------------------------------------------------------------------------- /src/Api/Controllers/DeleteRankController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Api/Controllers/DeleteRankController.php -------------------------------------------------------------------------------- /src/Api/Controllers/DeleteTopImageController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Api/Controllers/DeleteTopImageController.php -------------------------------------------------------------------------------- /src/Api/Controllers/ListRanksController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Api/Controllers/ListRanksController.php -------------------------------------------------------------------------------- /src/Api/Controllers/OrderByPointsController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Api/Controllers/OrderByPointsController.php -------------------------------------------------------------------------------- /src/Api/Controllers/UpdateRankController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Api/Controllers/UpdateRankController.php -------------------------------------------------------------------------------- /src/Api/Controllers/UploadTopImageController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Api/Controllers/UploadTopImageController.php -------------------------------------------------------------------------------- /src/Api/Serializers/RankSerializer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Api/Serializers/RankSerializer.php -------------------------------------------------------------------------------- /src/Commands/CreateRank.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Commands/CreateRank.php -------------------------------------------------------------------------------- /src/Commands/CreateRankHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Commands/CreateRankHandler.php -------------------------------------------------------------------------------- /src/Commands/DeleteRank.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Commands/DeleteRank.php -------------------------------------------------------------------------------- /src/Commands/DeleteRankHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Commands/DeleteRankHandler.php -------------------------------------------------------------------------------- /src/Commands/EditRank.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Commands/EditRank.php -------------------------------------------------------------------------------- /src/Commands/EditRankHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Commands/EditRankHandler.php -------------------------------------------------------------------------------- /src/Events/PostWasVoted.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Events/PostWasVoted.php -------------------------------------------------------------------------------- /src/Gambit/HotGambit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Gambit/HotGambit.php -------------------------------------------------------------------------------- /src/Gamification.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Gamification.php -------------------------------------------------------------------------------- /src/Likes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Likes.php -------------------------------------------------------------------------------- /src/Listeners/AddRelationships.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Listeners/AddRelationships.php -------------------------------------------------------------------------------- /src/Listeners/EventHandlers.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Listeners/EventHandlers.php -------------------------------------------------------------------------------- /src/Listeners/FilterDiscussionListByHotness.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Listeners/FilterDiscussionListByHotness.php -------------------------------------------------------------------------------- /src/Listeners/SaveVotesToDatabase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Listeners/SaveVotesToDatabase.php -------------------------------------------------------------------------------- /src/Notification/VoteBlueprint.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Notification/VoteBlueprint.php -------------------------------------------------------------------------------- /src/Rank.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Rank.php -------------------------------------------------------------------------------- /src/Validator/RankValidator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Validator/RankValidator.php -------------------------------------------------------------------------------- /src/Vote.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ReFlar/gamification/HEAD/src/Vote.php --------------------------------------------------------------------------------