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 /
course /
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--
activities_edit_completion.fea...
2.4
KB
-rwxrwxrwx
activities_edit_name.feature
1.75
KB
-rwxrwxrwx
activities_group_icons.feature
1.79
KB
-rwxrwxrwx
activities_indentation.feature
2.06
KB
-rwxrwxrwx
activities_visibility_icons.fe...
8.61
KB
-rwxrwxrwx
activity_chooser.feature
11.91
KB
-rwxrwxrwx
activity_navigation.feature
16.58
KB
-rwxrwxrwx
activity_navigation_with_restr...
3.38
KB
-rwxrwxrwx
add_activities.feature
2.19
KB
-rwxrwxrwx
behat_course.php
84.14
KB
-rwxrwxrwx
category_change_visibility.fea...
17.1
KB
-rwxrwxrwx
category_management.feature
22.89
KB
-rwxrwxrwx
category_resort.feature
10.92
KB
-rwxrwxrwx
category_role_assignment.featu...
1.57
KB
-rwxrwxrwx
course_browsing.feature
4.21
KB
-rwxrwxrwx
course_category_management_lis...
43.87
KB
-rwxrwxrwx
course_change_visibility.featu...
5.88
KB
-rwxrwxrwx
course_contact.feature
7.35
KB
-rwxrwxrwx
course_controls.feature
9.27
KB
-rwxrwxrwx
course_creation.feature
4.15
KB
-rwxrwxrwx
course_format.feature
4.1
KB
-rwxrwxrwx
course_relativedatesmode.featu...
2.09
KB
-rwxrwxrwx
course_request.feature
4.09
KB
-rwxrwxrwx
course_resort.feature
11.28
KB
-rwxrwxrwx
course_search.feature
1.59
KB
-rwxrwxrwx
coursetags.feature
3.96
KB
-rwxrwxrwx
create_delete_course.feature
5.13
KB
-rwxrwxrwx
customfields_locked.feature
1.26
KB
-rwxrwxrwx
customfields_visibility.featur...
3.39
KB
-rwxrwxrwx
edit_settings.feature
2.49
KB
-rwxrwxrwx
force_group_mode.feature
2.11
KB
-rwxrwxrwx
frontpage_display_modes.featur...
3.15
KB
-rwxrwxrwx
general_section.feature
1.5
KB
-rwxrwxrwx
keyholder.feature
2.23
KB
-rwxrwxrwx
max_number_sections.feature
1.95
KB
-rwxrwxrwx
move_activities.feature
2.14
KB
-rwxrwxrwx
move_sections.feature
2.6
KB
-rwxrwxrwx
navigate_course_list.feature
3.09
KB
-rwxrwxrwx
paged_course_navigation.featur...
5.97
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
recommend_activities.feature
2
KB
-rwxrwxrwx
rename_roles.feature
2.47
KB
-rwxrwxrwx
restrict_available_activities....
1.88
KB
-rwxrwxrwx
role_renaming.feature
1.7
KB
-rwxrwxrwx
search_recommended_activities....
1
KB
-rwxrwxrwx
section_highlighting.feature
1.78
KB
-rwxrwxrwx
section_visibility.feature
2.24
KB
-rwxrwxrwx
view_subfolders_inline.feature
3.04
KB
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : activities_visibility_icons.feature
@core @core_course @_cross_browser Feature: Toggle activities visibility from the course page In order to delay activities availability As a teacher I need to quickly change the visibility of an activity Background: Given the following "users" exist: | username | firstname | lastname | email | | teacher1 | Teacher | 1 | teacher1@example.com | | student1 | Student | 1 | student1@example.com | And the following "courses" exist: | fullname | shortname | format | numsections | | Course 1 | C1 | topics | 2 | And the following "course enrolments" exist: | user | course | role | | teacher1 | C1 | editingteacher | | student1 | C1 | student | And the following "activities" exist: | activity | course | section | idnumber | name | intro | id_visible | | assign | C1 | 1 | 1 | Test assignment name | Test assignment description | 1 | And the following "blocks" exist: | blockname | contextlevel | reference | pagetypepattern | defaultregion | | recent_activity | Course | C1 | course-view-* | side-pre | @javascript Scenario: Hide/Show toggle with javascript enabled Given the following "activity" exists: | activity | forum | | course | C1 | | idnumber | C1F1 | | name | Test forum name | | visible | 1 | And I log in as "teacher1" And I am on "Course 1" course homepage with editing mode on When I open "Test forum name" actions menu Then "Test forum name" actions menu should not have "Show" item And "Test forum name" actions menu should not have "Make available" item And "Test forum name" actions menu should not have "Make unavailable" item And I click on "Hide" "link" in the "Test forum name" activity And "Test forum name" activity should be hidden And I open "Test forum name" actions menu And "Test forum name" actions menu should not have "Hide" item # Stealth behaviour is not available by default: And "Test forum name" actions menu should not have "Make available" item And "Test forum name" actions menu should not have "Make unavailable" item And I click on "Show" "link" in the "Test forum name" activity And "Test forum name" activity should be visible And I open "Test forum name" actions menu And "Test forum name" actions menu should not have "Show" item And "Test forum name" actions menu should not have "Make available" item And "Test forum name" actions menu should not have "Make unavailable" item And I click on "Hide" "link" in the "Test forum name" activity And "Test forum name" activity should be hidden And I reload the page And "Test forum name" activity should be hidden # Make sure that "Availability" dropdown in the edit menu has two options: Show/Hide. And I open "Test forum name" actions menu And I click on "Edit settings" "link" in the "Test forum name" activity And I expand all fieldsets And the "Availability" select box should contain "Show on course page" And the "Availability" select box should not contain "Make available but not shown on course page" And the field "Availability" matches value "Hide from students" And I press "Save and return to course" And "Test forum name" activity should be hidden And I turn editing mode off And "Test forum name" activity should be hidden # Student should not see this activity. And I am on the "Course 1" course page logged in as student1 And I should not see "Test forum name" @javascript Scenario: Activities can be made available and unavailable inside a hidden section Given the following "activity" exists: | activity | forum | | course | C1 | | idnumber | C1F1 | | section | 2 | | name | Test forum name | | visible | 1 | And I log in as "teacher1" And I am on "Course 1" course homepage with editing mode on When I hide section "2" Then "Test forum name" activity should be hidden And I open "Test forum name" actions menu And "Test forum name" actions menu should not have "Show" item And "Test forum name" actions menu should not have "Hide" item And "Test forum name" actions menu should not have "Make unavailable" item And I click on "Make available" "link" in the "Test forum name" activity And "Test forum name" activity should be available but hidden from course page And I open "Test forum name" actions menu And "Test forum name" actions menu should not have "Show" item And "Test forum name" actions menu should not have "Hide" item And "Test forum name" actions menu should not have "Make available" item And I click on "Make unavailable" "link" in the "Test forum name" activity And "Test forum name" activity should be hidden # Make sure that "Availability" dropdown in the edit menu has three options. And I open "Test forum name" actions menu And I click on "Edit settings" "link" in the "Test forum name" activity And I expand all fieldsets And the "Availability" select box should contain "Hide from students" And the "Availability" select box should contain "Make available but not shown on course page" And the "Availability" select box should not contain "Show on course page" And I set the field "Availability" to "Make available but not shown on course page" And I press "Save and return to course" And "Test forum name" activity should be available but hidden from course page And I turn editing mode off And "Test forum name" activity should be available but hidden from course page # Student will not see the module on the course page but can access it from other reports and blocks: And I am on the "Course 1" course page logged in as student1 And "Test forum name" activity should be hidden And I click on "Test forum name" "link" in the "Recent activity" "block" And I should see "Test forum name" And I should see "(There are no discussion topics yet in this forum)" @javascript Scenario: Activities can be made available but not visible on a course page Given the following config values are set as admin: | allowstealth | 1 | And I log in as "teacher1" And I am on "Course 1" course homepage with editing mode on When I open "Test assignment name" actions menu Then "Test assignment name" actions menu should not have "Show" item And "Test assignment name" actions menu should have "Hide" item And "Test assignment name" actions menu should not have "Make available" item And "Test assignment name" actions menu should not have "Make unavailable" item And I click on "Hide" "link" in the "Test assignment name" activity And "Test assignment name" activity should be hidden And I open "Test assignment name" actions menu And "Test assignment name" actions menu should have "Show" item And "Test assignment name" actions menu should not have "Hide" item And "Test assignment name" actions menu should not have "Make unavailable" item And I click on "Make available" "link" in the "Test assignment name" activity And "Test assignment name" activity should be available but hidden from course page # Make sure that "Availability" dropdown in the edit menu has three options. And I open "Test assignment name" actions menu And I click on "Edit settings" "link" in the "Test assignment name" activity And I expand all fieldsets And the "Availability" select box should contain "Show on course page" And the "Availability" select box should contain "Hide from students" And the field "Availability" matches value "Make available but not shown on course page" And I press "Save and return to course" And "Test assignment name" activity should be available but hidden from course page And I turn editing mode off And "Test assignment name" activity should be available but hidden from course page And I log out # Student will not see the module on the course page but can access it from other reports and blocks: And I log in as "student1" And I am on "Course 1" course homepage And "Test assignment name" activity should be hidden And I click on "Test assignment name" "link" in the "Recent activity" "block" And I should see "Test assignment name" And I should see "Submission status" And I log out
Close