Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajout de Cosmic CMS #3

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
049cee6
Update .gitmodules
TheRevenge Jun 7, 2022
fff90b1
Added cosmic
TheRevenge Jun 7, 2022
adc4288
DS_Store get fucked
TheRevenge Jun 7, 2022
4269694
Added cosmic image
TheRevenge Jun 7, 2022
87df4bf
Remove database
TheRevenge Jun 7, 2022
ee0c414
path fix
TheRevenge Jun 7, 2022
673da35
Changed directory
TheRevenge Jun 7, 2022
ee2f196
build script
TheRevenge Jun 7, 2022
ea3236c
Also remove php and mariadb
TheRevenge Jun 7, 2022
af538b8
Enables required modules
TheRevenge Jun 7, 2022
a29b558
Added zip and git
TheRevenge Jun 7, 2022
9d6526d
N'en parlons pas
TheRevenge Jun 7, 2022
92d6b21
Added pdo
TheRevenge Jun 7, 2022
0c00343
Added
TheRevenge Jun 7, 2022
7729ec5
Error in conf
TheRevenge Jun 7, 2022
1fc02af
Error in config
TheRevenge Jun 7, 2022
9e79bf0
idk
TheRevenge Jun 7, 2022
f232eca
Sass patch
TheRevenge Jun 8, 2022
eb12fdc
Minor change
TheRevenge Jun 8, 2022
855392f
Revert
TheRevenge Jun 8, 2022
1113f0f
Ajout plug-in cosmic
TheRevenge Jun 8, 2022
a299ba2
Ajouts détail cosmic
TheRevenge Jun 8, 2022
5f1519a
Fix du patch sass
TheRevenge Jun 8, 2022
bee9400
Added composer (back)
TheRevenge Jun 8, 2022
d8b8a4a
Fixed sass patch again
TheRevenge Jun 8, 2022
4f651fc
Update db (hopefully)
TheRevenge Jun 8, 2022
ebf5194
Nevermind
TheRevenge Jun 8, 2022
53208aa
Sorrey, wrong one
TheRevenge Jun 8, 2022
7a28b2f
switch to dev
TheRevenge Jun 8, 2022
1f4a1d2
Passed to dev
TheRevenge Jun 8, 2022
38b6406
Updated sass patch
TheRevenge Jun 8, 2022
6114c87
Force static ip
TheRevenge Jun 9, 2022
ba71657
Adds socket
TheRevenge Jun 9, 2022
cfb4d4d
Updated for dev
TheRevenge Jun 9, 2022
126a26d
Add cosmic ip in whitelist
TheRevenge Jun 9, 2022
e052cf6
Fixed ip being already taken
TheRevenge Jun 9, 2022
06d988f
Removed sass patch
TheRevenge Jun 29, 2022
3e77c4e
Reverted network configuration
TheRevenge Jul 20, 2022
59e3706
Removed useless line
TheRevenge Jul 24, 2022
2f830e8
node-sass is kept in this branch
TheRevenge Jul 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Nevermind
  • Loading branch information
TheRevenge committed Jun 8, 2022
commit ebf519481d06bfa2396096b6ed9dd5d121064402
96 changes: 96 additions & 0 deletions mysql/dumps/arcturus_migration_3.0.0_to_3.5.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('wired.place.under', '0');
INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('wired.custom.enabled', '0');

INSERT INTO `emulator_texts` (`key`, `value`) VALUES ('commands.error.cmd_stalk.forgot_username', 'Specify the username of the Habbo you want to follow!');

-- Enable or Disable TTY in console (Default is enabled)
INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('console.mode', '1');

-- Youtube Api v3 key to YoutubeManager
INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('youtube.apikey', '');

INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('hotel.gifts.length.max', '300');

INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('hotel.trophies.length.max', '300');

-- Add friendship categories table
CREATE TABLE `messenger_categories` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(25) NOT NULL,
`user_id` int NOT NULL,
UNIQUE KEY `identifier` (`id`)
);

-- Set an ID (int) from category list items
ALTER TABLE messenger_friendships ADD category int NOT NULL DEFAULT '0' AFTER friends_since;


-- ----------------------------
-- Table structure for calendar_campaigns
-- ----------------------------
DROP TABLE IF EXISTS `calendar_campaigns`;
CREATE TABLE `calendar_campaigns` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL DEFAULT '',
`image` varchar(255) NOT NULL DEFAULT '',
`start_timestamp` int NOT NULL DEFAULT '0',
`total_days` int NOT NULL DEFAULT '30',
`lock_expired` enum('1','0') NOT NULL DEFAULT '1',
`enabled` enum('1','0') NOT NULL DEFAULT '1',
UNIQUE KEY `id` (`id`)
);

-- ----------------------------
-- Table structure for calendar_rewards
-- ----------------------------
DROP TABLE IF EXISTS `calendar_rewards`;
CREATE TABLE `calendar_rewards` (
`id` int NOT NULL AUTO_INCREMENT,
`campaign_id` int NOT NULL DEFAULT '0',
`product_name` varchar(128) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '',
`custom_image` varchar(128) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '',
`credits` int NOT NULL DEFAULT '0',
`pixels` int NOT NULL DEFAULT '0',
`points` int NOT NULL DEFAULT '0',
`points_type` int NOT NULL DEFAULT '0',
`badge` varchar(25) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL DEFAULT '',
`item_id` int NOT NULL DEFAULT '0',
`subscription_type` varchar(128) CHARACTER SET latin1 COLLATE latin1_swedish_ci DEFAULT '',
`subscription_days` int NOT NULL DEFAULT '0',
PRIMARY KEY (`id`) USING BTREE
);

-- ----------------------------
-- Table structure for calendar_rewards_claimed
-- ----------------------------
DROP TABLE IF EXISTS `calendar_rewards_claimed`;
CREATE TABLE `calendar_rewards_claimed` (
`user_id` int NOT NULL,
`campaign_id` int NOT NULL DEFAULT '0',
`day` int NOT NULL,
`reward_id` int NOT NULL,
`timestamp` int NOT NULL
);

INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('hotel.calendar.default', 'test');
INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('hotel.calendar.pixels.hc_modifier', '2.0');

-- Calendar force open
ALTER TABLE `permissions` ADD COLUMN `acc_calendar_force` enum('0','1') NULL DEFAULT '0';

-- UpdateCalendar command.
ALTER TABLE `permissions` ADD `cmd_update_calendar` ENUM('0', '1') NOT NULL DEFAULT '0';
INSERT INTO `emulator_texts` (`key`, `value`) VALUES ('commands.description.cmd_update_calendar', ':update_calendar'), ('commands.keys.cmd_update_calendar', 'update_calendar');
INSERT INTO `emulator_texts` (`key`, `value`) VALUES ('commands.success.cmd_update_calendar', 'Calendar updated successfully!');

-- add moodlight configuration
INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('moodlight.color_check.enabled', '1');

-- Mannequin name
INSERT INTO `emulator_texts` (`key`, `value`) VALUES ('hotel.mannequin.name.default', 'My look');

-- RCON: Change Username
INSERT INTO `emulator_texts` (`key`, `value`) VALUES ('rcon.alert.user.change_username', 'You can change your username. Click on yourself to change it.');

-- Custom Stacking Setting
INSERT INTO `emulator_settings` (`key`, `value`) VALUES ('custom.stacking.enabled', '0');