Advertisement:

Author Topic: Breeze  (Read 85746 times)

Offline Toxic__Waste

  • Semi-Newbie
  • *
  • Posts: 10
Re: Breeze
« Reply #180 on: October 22, 2014, 11:40:39 AM »
like i said i was using the 1.0.6 and after deleting the mod it had an option to remove all data which i did re installed the mod was able to go to the admins page that it was located on but like i said i was using the latest version you only have on listed on the mod site

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,698
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #181 on: October 22, 2014, 11:58:01 AM »
Can you reproduce it?  I can't reproduce it on my local test or at my site.

Try posting this bit of code on any wall page:

Code: [Select]
<script>alert("hello");</script>


If you don't see an alert page then it means you're safe.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

No todos son tan malos, no todo está mal
No todos son villanos queriéndote matar
No todo está perdido ni se va a acabar
La vida es un pícnic

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,698
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #182 on: October 22, 2014, 01:27:14 PM »
New release: Breeze 1.0.7


This release adds a new security layer by implementing the DOMPurify library to both comments and status messages.

It also fixes a wrong version on package-info.xml as well as adding the current version to the version tag on all files.

https://github.com/MissAllSunday/Breeze/releases/tag/v1.0.7

The green button is a ready to install package.

To upgrade just uninstall your previous mod version and DO NOT check the "Remove all data associated with this modification" checkbox.  Then proceed to install the new version.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

No todos son tan malos, no todo está mal
No todos son villanos queriéndote matar
No todo está perdido ni se va a acabar
La vida es un pícnic

Offline Toxic__Waste

  • Semi-Newbie
  • *
  • Posts: 10
Re: Breeze
« Reply #183 on: October 22, 2014, 04:15:49 PM »
isorry had to go to work i uninstalled 1.0.6 and all the data installed the 1.0.7 went to a profile and added <script>alert("hello");</script> a pop up came up saying Hello pick in attachments

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,698
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #184 on: October 22, 2014, 08:40:33 PM »
Thats not possible, the purify lib should have taken care of it and instead you should see an error message telling you to enter something on the textarea field.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

No todos son tan malos, no todo está mal
No todos son villanos queriéndote matar
No todo está perdido ni se va a acabar
La vida es un pícnic

Offline Toxic__Waste

  • Semi-Newbie
  • *
  • Posts: 10
Re: Breeze
« Reply #185 on: October 22, 2014, 09:46:26 PM »
im telling you exactly what happened see for your self www.project-rainbow.org/site [nofollow]

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,698
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #186 on: October 23, 2014, 08:37:34 AM »
Guest cannot see profile pages.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

No todos son tan malos, no todo está mal
No todos son villanos queriéndote matar
No todo está perdido ni se va a acabar
La vida es un pícnic

Offline Toxic__Waste

  • Semi-Newbie
  • *
  • Posts: 10
Re: Breeze
« Reply #187 on: October 23, 2014, 09:10:14 AM »
my profile page with the script in the comments
http://www.project-rainbow.org/site/profile/?u=1 [nofollow]

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,698
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #188 on: October 23, 2014, 09:40:01 AM »
A screen shot doesn't help, I need a regular user account.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

No todos son tan malos, no todo está mal
No todos son villanos queriéndote matar
No todo está perdido ni se va a acabar
La vida es un pícnic

Offline Cmely

  • Semi-Newbie
  • *
  • Posts: 76
Re: Breeze
« Reply #189 on: November 22, 2014, 04:36:43 AM »
Hello Suki, and thank you for having made this mod which is very interesting.

I have however two questions :

1. I'm using Ultimate profile too. As Breeze is setup right now, it is the landing page when you click on a user's "profile" link. Is it possible, and how, to keep "Ultimate Profile" as the main page ? The behaviour I would expect would be :

Code: [Select]
[b]When [/b]"Profile link" is clicked [b]then [/b]
 [b]if [/b]User have an Ultimate Profile go to Ultimate profile main page
 [b]else [/b]go to Wall page (or Regular Profile page, it's equal for me)


2. Is it possible to use the custom CSS created in an Ultimate Profile page on the Breeze page ?

Thanks in advance for your answers.

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,698
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #190 on: November 22, 2014, 03:29:44 PM »
Both mods weren't designed to work together so no, there isn't an easy way to do what you want.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

No todos son tan malos, no todo está mal
No todos son villanos queriéndote matar
No todo está perdido ni se va a acabar
La vida es un pícnic

Offline Cmely

  • Semi-Newbie
  • *
  • Posts: 76
Re: Breeze
« Reply #191 on: November 23, 2014, 10:24:41 AM »
Both mods weren't designed to work together so no, there isn't an easy way to do what you want.

Well, too bad for me...I won't be able to use your great mod.

I have members who already have setup their Ultimate Profile page, as you can see on the few example provided below, and I believe they wouldn't like to lose their Personal Page.
http://www.lux-optima.com/index.php?action=profile;area=static;u=96
http://www.lux-optima.com/index.php?action=profile;area=static;u=671
http://www.lux-optima.com/index.php?action=profile;area=static;u=5

Maybe it is something you could consider for a future release ?
Or, let's dream a little bit (afterall Christmas is coming soon  ;D ;) ) a kind of integration of both mods ?

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,698
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #192 on: November 23, 2014, 02:01:56 PM »
While it is possible to do what you ask, I just don't have the time to do it and it seems its something very few people would actually use. I rather prefer to add more features to my mod than integrating it with a similar one.

In theory you could replace Ultimate profile's comment system with Breeze's, just requires a bit of manual work to get it done.

If you don't want Breeze as the default profile page then open your Sources/Breeze/Breeze.php file, find and comment out this lines:

Code: [Select]
$profile_areas['info']['areas']['summary'] = array(
'label' => $tools->text('general_wall'),
'file' => Breeze::$folder . 'BreezeUser.php',
'function' => 'breezeWall',
'permission' => array(
'own' => 'profile_view_own',
'any' => 'profile_view_any',
),
);
// If the mod is enable, then create another page for the default profile page
$profile_areas['info']['areas']['static'] = array(
'label' => $tools->text('general_summary'),
'file' => 'Profile-View.php',
'function' => 'summary',
'permission' => array(
'own' => 'profile_view_own',
'any' => 'profile_view_any',
),
);

As for replacing UP comment system with Breeze's its just a matter of including Breeze js files and the template code on whatever file UP uses to display comments, its doable but requires lots of edits to get it done right.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

No todos son tan malos, no todo está mal
No todos son villanos queriéndote matar
No todo está perdido ni se va a acabar
La vida es un pícnic

Offline Cmely

  • Semi-Newbie
  • *
  • Posts: 76
Re: Breeze
« Reply #193 on: November 23, 2014, 03:36:07 PM »
While it is possible to do what you ask, I just don't have the time to do it and it seems its something very few people would actually use. I rather prefer to add more features to my mod than integrating it with a similar one.

I certainly understand that. This is perfectly normal.

If you don't want Breeze as the default profile page then open your Sources/Breeze/Breeze.php file, find and comment out this lines:

Thank you very much for this information. I guess Breeze will still be functional even if it's not the default profile page ?


Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,698
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #194 on: November 24, 2014, 12:17:21 PM »
Well, Breeze is pretty much intact, the only thing now is that there is no actual page to display the wall.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

No todos son tan malos, no todo está mal
No todos son villanos queriéndote matar
No todo está perdido ni se va a acabar
La vida es un pícnic

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,698
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #195 on: March 02, 2015, 08:02:07 PM »
For anyone interested, I finished the main features I wanted to add to the new version, some of the new features are:

- Revamped code, full OOP using Pimple for Dependency Injection and overall cleaner code, less files too!
- SMF's likes and mentions included on any status/comments.
- Fully integrated with SMF's alert system. The current actions are supported:

When someone post a status on my wall
When someone comment on a status I made
When someone comment on a status made on my wall
When someone mentions me on a comment or status on any wall
When someone likes a comment or status I made on any wall

- Revamp the old Breeze notification system, some of the actions currently supported are:

 Alert people when I change my cover image.
 Alert people when I change my mood.
 Alert people when I like something.
 Alert people when I make a status
 Alert people when I make a comment.
 Alert people when I create a new topic.

These are the actions you made your buddies or users in general will be able to see. Your users have full control over what they want to show, if they delete an alert it won't show up to anybody, only the alerts they have marked as enable will be visible to other users as well.

Both the alerts and the notifications can be expanded and I'm currently thinking what more actions can I cover.

- Cover upload feature. Your users will be able to upload an image, just like twitter or facebook, to act as their cover on their wall, admins can customize who can upload covers as well as the max width, height and size.
- My mood feature, little images that represents moods, your users will be able to change their mood from any post they made, the admin can add/edit/delete any image and set permissions for it.
- The wall page got revamped too, make it responsive (basic responsive support), the same for the general wall.
- The general wall now shows more stuff besides your buddies status/comments, if your buddies allow it, their actions will appear on your general wall.

- Auto-updating timeago text courtesy of Livestamp.js.
- Icons for alerts and logs from Font Awesome.

Anyone with a SMF 2.1 test install who wants to help out debugging it is welcome to get the latest package from github.

A demo can be found at my site
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

No todos son tan malos, no todo está mal
No todos son villanos queriéndote matar
No todo está perdido ni se va a acabar
La vida es un pícnic

Offline DragoN_PT

  • Jr. Member
  • **
  • Posts: 107
  • Gender: Male
Re: Breeze
« Reply #196 on: March 03, 2015, 11:51:13 PM »
Oh, this looks nice! Great work.  ;)

Offline br360

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,398
    • GenXcommunity
Re: Breeze
« Reply #197 on: March 04, 2015, 03:21:53 AM »
Oh, this looks nice! Great work.  ;)

Seriously. This mod is awesome.

Offline Suki

  • Carthago delenda est
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,698
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Breeze
« Reply #198 on: March 19, 2015, 03:57:50 PM »
To Whom It May Concern!

Just finished revamping the buddy system:

The buddy system is now tied up with the SMF alert system, a typical case would be like this:

- User X sends a buddy invite to user Y.
- User Y receives an SMF alert informing user X wants to be your buddy.
- User Y has 2 options, either confirm or deny the invitation.
- If confirm, 2 logs will be fired and user X will receive another alert telling him/her that user Y confirmed the buddy request and they are now buddies!  Both users can decide if this even will be log into their own recent activity, there is now a new alert setting:

Alert people when I or a person I sent a buddy invitation to accept and confirms the buddy invitation

If user X or user Y has that option enabled, a log will be done with something like this:

user X and user Y have become buddies!.

If user Y rejects the invite, user Y has the possibility to put user X into a "block list" so that user X cannot send more invites to user Y, this is different than the regular ignore list.  User X will not know that user Y has him/her in that list, whenever user x tries to send an invitation, a general error will appear:

"you cannot send a buddy invitation to this user"

The same happens to people in your ignore list.

Still looking for ideas to improve the whole profile and the general wall template and add other "user events" that might be worth adding it to the user's "recent activity" stream.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

No todos son tan malos, no todo está mal
No todos son villanos queriéndote matar
No todo está perdido ni se va a acabar
La vida es un pícnic

Offline DragoN_PT

  • Jr. Member
  • **
  • Posts: 107
  • Gender: Male
Re: Breeze
« Reply #199 on: March 20, 2015, 05:47:09 PM »
Nice.


Honda approves!