Angel Fernando Quiroz Campos
3650e4463d
Social: Secure requests to delete posts and comments
2 years ago
Angel Fernando Quiroz Campos
ed946908fe
Social: block anonymous users for read_url_with_open_graph
3 years ago
Angel Fernando Quiroz Campos
0a6dc86ebe
Minor: Social: Format code
3 years ago
Julio Montoya
b961537ec1
Minor - format code
6 years ago
Julio Montoya
f8d5880b1e
Minor - Format code
6 years ago
Angel Fernando Quiroz Campos
1c81dcb2c5
Fix message_feedback
...
see 9c5371b
7 years ago
Angel Fernando Quiroz Campos
9c5371b448
Rename entity MessageLikes to MessageFeedback
...
See 9af667f5af
7 years ago
Angel Fernando Quiroz Campos
e2eda96358
Social: Fix "See More" button #2846
7 years ago
Julio
10f6629a33
Fix thread list when getting social groups BT#15309
7 years ago
Julio
ef4e78caef
Minor - fixes from ofaj_dev
7 years ago
Julio Montoya
80e36943cc
Minor - flint fixes + replace jquery ready syntax
7 years ago
Angel Fernando Quiroz Campos
9af667f5af
Add social_enable_likes_messages conf setting - refs BT#15393
...
Allows to user add likes or dislikes to posts in social wall. Requires DB changes:
```sql
CREATE TABLE message_likes (id BIGINT AUTO_INCREMENT NOT NULL, message_id BIGINT NOT NULL, user_id INT NOT NULL, liked TINYINT(1) DEFAULT '0' NOT NULL, disliked TINYINT(1) DEFAULT '0' NOT NULL, updated_at DATETIME NOT NULL, INDEX IDX_B66CB196537A1329 (message_id), INDEX IDX_B66CB196A76ED395 (user_id), INDEX idx_message_likes_uid_mid (message_id, user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
ALTER TABLE message_likes ADD CONSTRAINT FK_B66CB196537A1329 FOREIGN KEY (message_id) REFERENCES message (id) ON DELETE CASCADE;
ALTER TABLE message_likes ADD CONSTRAINT FK_B66CB196A76ED395 FOREIGN KEY (user_id) REFERENCES user (id) ON DELETE CASCADE;
```
- edit src/Chamilo/CoreBundle/Entity/MessageLikes.php
and follow the instructions about the @ORM\Entity() line
- edit src/Chamilo/CoreBundle/Entity/Message.php
and fllow the instruccions about the @ORM\OneToMany line for the $likes property
- launch composer install to rebuild the autoload.php
7 years ago
Julio Montoya
ddaf933fad
Minor - format code, remove logs
7 years ago
Julio Montoya
2521f40bd5
New social, forum and chat UI (from ofaj branch)
7 years ago
Julio Montoya
78f2b863b5
Block list wall message for anons
7 years ago
Julio Montoya
ecdc2037e2
Applied fixes from FlintCI
8 years ago
Julio Montoya
bf885f42f4
Applied fixes from FlintCI
8 years ago
Scrutinizer Auto-Fixer
3a1787b2d5
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
9 years ago
jmontoyaa
7aafec9a76
Use Session class, replace "else if" with "elseif"
9 years ago
jmontoyaa
e670b9d791
Fix constant names
9 years ago
Yannick Warnier
4aa97efd7e
Rename blog methods to camelCase
9 years ago
Yannick Warnier
5608fdd25c
Move blog functions into class and avoid using course_code where course_id can be used
9 years ago
jmontoyaa
66ea436b73
Minor - Format code, remove unused code
9 years ago
jmontoyaa
c4228df6e4
Minor - format code
9 years ago
jmontoyaa
fab7a58076
Use __DIR__ when calling global.inc.php
...
This is needed for an easy migration to chamilo v2
9 years ago
Angel Fernando Quiroz Campos
95f2c51540
Minor - Use addFlash - refs #8478
9 years ago
jmontoyaa
fbc3241845
Minor - Format code
9 years ago
Angel Fernando Quiroz Campos
357055060c
Fix accept friend invitation in shared profile - refs #8350
9 years ago
José Loguercio
50835f07ba
Added Post Answer better design and fix popularity vote
10 years ago
José Loguercio
8372f72f45
Implement better design for social wall messages and OpenGraph markup
10 years ago
José Loguercio
021f8c6441
Fix url opengraph code for social wall
10 years ago
José Loguercio
ab96a56212
Fix Button "Deny invitation" does not work. - Refs #8108
10 years ago
Angel Fernando Quiroz Campos
2e18ad61e9
Avoid Accept/Deny friend invitations by AJAX
10 years ago
José Loguercio
38a3513015
Fix Url Social Utf-8 Encoding
10 years ago
Angel Fernando Quiroz Campos
65b8771aea
Fix Friends page
10 years ago
José Loguercio
04ce19c5a1
New Design for Preview URL (OpenGraph) and other Fixes
10 years ago
Julio Montoya
2cad61f986
Apply https://github.com/chamilo/chamilo-lms/pull/838 (bis)
10 years ago
Julio Montoya
03d263a9a6
Improve code to load user picture.
...
Remove calls from gravatar and centralize in UserManager
11 years ago
Yannick Warnier
cc540ec185
Minor - Fix button style - refs #7539
11 years ago
Julio Montoya
065e4863a4
Replace course_rel_user.course_code with course_rel_user.c_id
11 years ago
Yannick Warnier
b87882c504
Move dropbox, userInfo and course_info language file to trad4all - refs #4467
11 years ago
Yannick Warnier
92c6631785
Remove language files with little use and clean deprecated language variables - refs #4467
11 years ago
aragonc
d15a617cd9
add tpl and icon rss,tpl social update profile user BT#9082
11 years ago
Julio Montoya
5728167447
Removes require_once for libs already added with composer
11 years ago
Imanol Losada
06eda4bdb0
Fix image upload. Fix social homepage layout - refs #5637
11 years ago
Daniel Barreto
17db90e1d8
Add jquery plugin timeago and fix social ajax - refs BT#5637
11 years ago
Imanol Losada
59675abcaa
Fix post response loading issue. Add delete button in ajax posts - refs #5637
11 years ago
Imanol Losada
7f9ed80164
Add AutoExtend feature. Doesn't load post responses. Doesn't show delete button. - refs #5637
11 years ago
Daniel Barreto
54aa741e8c
Add jquery plugin jscroll for scroll ajax pagination - refs BT#5637
11 years ago
aragonc
94984e6b12
merge
12 years ago