| Línea 1... |
Línea 1... |
| 1 |
Description of Roundcube Framework 1.6.6 library import into Moodle
|
1 |
Description of Roundcube Framework library import into Moodle
|
| Línea 2... |
Línea 2... |
| 2 |
|
2 |
|
| 3 |
We now use the client part of Roundcube Framework as a library in Moodle.
|
3 |
We now use the client part of Roundcube Framework as a library in Moodle.
|
| 4 |
This library is used to receive emails from Moodle.
|
4 |
This library is used to receive emails from Moodle.
|
| Línea 5... |
Línea 5... |
| 5 |
This library is not used to send emails.
|
5 |
This library is not used to send emails.
|
| Línea 6... |
Línea 6... |
| 6 |
|
6 |
|
| 7 |
For more information on this version of Roundcube Framework, check out https://github.com/roundcube/roundcubemail/releases/tag/1.6.6
|
7 |
For more information on this version of Roundcube Framework, check out https://github.com/roundcube/roundcubemail/releases/tag/X.Y.Z
|
| 8 |
|
8 |
|
| 9 |
To upgrade this library:
|
9 |
To upgrade this library:
|
| 10 |
1. Download the latest release of Roundcube Framework (roundcube-framework-xxx-tar.gz) in https://github.com/roundcube/roundcubemail/releases.
|
10 |
1. Download the latest release of Roundcube Framework (roundcube-framework-xyz-tar.gz) in https://github.com/roundcube/roundcubemail/releases.
|
| 11 |
2. Extract the contents of the release archive to a temp folder.
|
11 |
2. Extract the contents of the release archive to a temp folder.
|
| 12 |
3. Copy the following files from the temp folder to the Moodle folder admin/tool/messageinbound/roundcube:
|
12 |
3. Copy the following files from the temp folder to the Moodle folder admin/tool/messageinbound/roundcube:
|
| 13 |
- rcube_charset.php
|
13 |
- rcube_charset.php
|
| 14 |
- rcube_imap_generic.php
|
14 |
- rcube_imap_generic.php
|
| 15 |
- rcube_message_header.php
|
15 |
- rcube_message_header.php
|
| 16 |
- rcube_mime.php
|
16 |
- rcube_mime.php
|
| - |
|
17 |
- rcube_result_index.php
|
| - |
|
18 |
- rcube_result_thread.php
|
| - |
|
19 |
- rcube_utils.php
|
| - |
|
20 |
|
| - |
|
21 |
To ease the process, you can execute the below command:
|
| - |
|
22 |
```
|
| - |
|
23 |
cp rcube_charset.php \
|
| - |
|
24 |
rcube_imap_generic.php \
|
| - |
|
25 |
rcube_message_header.php \
|
| - |
|
26 |
rcube_mime.php \
|
| - |
|
27 |
rcube_result_index.php \
|
| - |
|
28 |
rcube_result_thread.php \
|
| - |
|
29 |
rcube_utils.php \
|
| 17 |
- rcube_result_index.php
|
30 |
/path/to/moodle/admin/tool/messageinbound/roundcube/
|
| 18 |
- rcube_result_thread.php
|
31 |
```
|
| 19 |
- rcube_utils.php
|
32 |
4. Enter to the /path/to/moodle/admin/tool/messageinbound/roundcube/.
|
| 20 |
4. Find and replace all array_first() calls with array_shift() in the following files:
|
33 |
5. Find and replace all array_first() calls with array_shift() in the following files:
|
| - |
|
34 |
- rcube_imap_generic.php
|
| - |
|
35 |
- rcube_result_index.php
|
| - |
|
36 |
- rcube_result_thread.php
|
| - |
|
37 |
|
| - |
|
38 |
To ease the process, you can execute the below command:
|
| - |
|
39 |
```
|
| - |
|
40 |
sed -i 's/array_first(/array_shift(/g' \
|
| - |
|
41 |
rcube_imap_generic.php \
|
| 21 |
- rcube_imap_generic.php
|
42 |
rcube_result_index.php \
|