Anahita Project

The #Anahita #project management group. Visit https://github.com/anahitasocial for more information about Anahita code and how to get started.

Stories

Rastin Mehr

Rastin Mehr shared a note

Today's focus is experimenting with smarter ways of handling form field verification and handling in our React App
Dave Friend

Dave Friend and Rastin Mehr commented on the note

I am not impressed with the current state of caching libraries in Anahita. I am also avoiding the temptation to build new Caching libraries for Anahita at this point, because the goal of 4.3 releas... Read More
I am not impressed with the current state of caching libraries in Anahita. I am also avoiding the temptation to build new Caching libraries for Anahita at this point, because the goal of 4.3 release is to get rid of all Joomla legacy code. I am also going to drop support for APC since it is not well supported in later releases of PHP. As it is, we can get decent performance boost with php7 and OPcache on Nginx. I'm talking near double speed. Until later that we can write custom caching code for Anahita entities and objects where required. #NoJoomla #Caching Read Less
I notice that at https://github.com/anahitasocial/anahita/blob/master/README.md#system-requirements

Item 4 states
...with OPcache and APCU.

Both?
Yes, they each used different mechanisms for caching and you can benefit from both.
Rajkumar Mundel

Rajkumar Mundel commented on the Article

Anahita 4.* Roadmap

This is the list of goals that we want to accomplish for this release. The implementation details and time are generally unknown until we actually start developing them.
16 people liked this
@rastin Yes Kind of but Same like we have Email Signup Process, same way MOBILE signup process...

1. Person can signup with Mobile Number
2. If mobile, person will verify the number with OTP and will able to use ... Read More
@rastin Yes Kind of but Same like we have Email Signup Process, same way MOBILE signup process...

1. Person can signup with Mobile Number
2. If mobile, person will verify the number with OTP and will able to use the application

I asked because this helps to remove the fraud people from the platform. Read Less
Rastin Mehr

Rastin Mehr and Nick Swinford commented on the topic

Emoji in name causes infinite redirects

This isn't a really critical #bug, but I thought I should go ahead and report it.

A few months ago, I thought it'd look cool to put an #emoji at the end of my name so I did it. After that, anytime I...

Read More

This isn't a really critical #bug, but I thought I should go ahead and report it.

A few months ago, I thought it'd look cool to put an #emoji at the end of my name so I did it. After that, anytime I tried to login to my Anahita based site, I was redirected infinitely until the browser would return a too many redirects error.

The only way I could fix this was to go into the database and remove the emoji from my person node's title. After that, I was able to login perfectly well.

No idea why this happened or what caused it, whether it's an Anahita issue or maybe an apache issue, but I couldn't login for a couple weeks while I racked my brain trying to figure out what was causing the problem. If this happened to an end user, they'd have no way to fix it.

Read Less
Is it emoji in name or username?
In the name. I added it to the end of my last name. Basically my name was "Nick Swinford 💖".
This is strange, because name isn't used anywhere in the verification or alias. I am curious to find out.
Nick Swinford

Nick Swinford started a topic

Emoji in name causes infinite redirects

This isn't a really critical #bug, but I thought I should go ahead and report it.

A few months ago, I thought it'd look cool to put an #emoji at the end of my name so I did it. After that, anytime I...

Read More

This isn't a really critical #bug, but I thought I should go ahead and report it.

A few months ago, I thought it'd look cool to put an #emoji at the end of my name so I did it. After that, anytime I tried to login to my Anahita based site, I was redirected infinitely until the browser would return a too many redirects error.

The only way I could fix this was to go into the database and remove the emoji from my person node's title. After that, I was able to login perfectly well.

No idea why this happened or what caused it, whether it's an Anahita issue or maybe an apache issue, but I couldn't login for a couple weeks while I racked my brain trying to figure out what was causing the problem. If this happened to an end user, they'd have no way to fix it.

Read Less
Rastin Mehr liked this
Rastin Mehr

Rastin Mehr shared a note

We've reached a milestone with the Anahita React app. All the basic People and Actors operations are working now. These are the BREAD operations as well as follow/unfollow, block/unblock, login, lo... Read More
We've reached a milestone with the Anahita React app. All the basic People and Actors operations are working now. These are the BREAD operations as well as follow/unfollow, block/unblock, login, logout, signup, and password reset. This took a while, because we had to research and experiment with different design patterns. This sets the path for the upcoming features. The code is still wet. For example actions can be more DRY and I'm still thinking of ways to make the components more reusable. Next would be operations that require file upload for avatars and cover. Also the other actor settings such as privacy, apps, etc. There are REST APIs missing for those which need to be implemented. You can see the React App codebase here and star it if you can just to give it some traction: https://github.com/anahitasocial/anahita-react #Anahita #ReactJS #ReduxJS #MaterialUI Read Less
2 people liked this
Rastin Mehr

Rastin Mehr shared a note

We had good progress this weekend and we think we can reach our milestone of having the basic actor and person operations in place within few days. Stay tuned later this week. #Anahita #Hackathon
Rajkumar Mundel liked this
James Imani

James Imani commented on the photo

James Imani liked this
James Imani
James Imani
March 28 2018 Permalink
I am impressed.
Rastin Mehr

Rastin Mehr shared a photo

Implementing Actor's settings. For now it is only the actors info until all the people's basic operations are done. The idea is to come up with all the design patterns that we need for data and actions. Building user interfaces in #MaterialUi is quite fun.
James Imani liked this
Rastin Mehr

Rastin Mehr and Rajkumar Mundel commented on the Article

Anahita 4.* Roadmap

This is the list of goals that we want to accomplish for this release. The implementation details and time are generally unknown until we actually start developing them.
@rastin Any plans for introduce MOBILE NUMBER Based SignUP / SignIN ?
Rastin Mehr
Rastin Mehr
March 25 2018 Permalink
@rmundel are you talking about 2 step verification?
Rastin Mehr

Rastin Mehr shared a note

So now we have actor profile covers with propper loaders. Also made the code more reusable by creating generic actor and action containers https://github.com/anahitasocial/anahita-react/tree/master... Read More
So now we have actor profile covers with propper loaders. Also made the code more reusable by creating generic actor and action containers https://github.com/anahitasocial/anahita-react/tree/master/src/containers the biggest challenge with developing the React app for Anahita is finding the best design patterns. The trick is to avoid the temptation of premature optimization and let the patterns emerge first. I think we can make good use of React HOCs from this point. They are like Anahita behaviours. #Anahita #Hackathon #ReactJS #ReduxJS #MaterialUI Read Less
Rastin Mehr

Rastin Mehr commented on the topic

Undefined class constant 'SPECIAL'

I'm getting the following error:

1: Undefined class constant 'SPECIAL' in \vendor\anahita\anahita\src\libraries\default\base\domain\behavior\privatable.php on line 312

As you can see here (https://gi...

Read More

I'm getting the following error:

1: Undefined class constant 'SPECIAL' in \vendor\anahita\anahita\src\libraries\default\base\domain\behavior\privatable.php on line 312

As you can see here (https://github.com/anahitasocial/anahita/blob/master/src/libraries/default/base/domain/behavior/privatable.php#L312), the SPECIAL constant is still being used even though it was removed sometime ago.

Should the entire if statement just be removed?

Read Less
Rastin Mehr liked this
Rastin Mehr
Rastin Mehr
February 22 2018 Permalink
Good find, yes it should be removed. Could you please do a PR?
Nick Swinford

Nick Swinford started a topic

Undefined class constant 'SPECIAL'

I'm getting the following error:

1: Undefined class constant 'SPECIAL' in \vendor\anahita\anahita\src\libraries\default\base\domain\behavior\privatable.php on line 312

As you can see here (https://gi...

Read More

I'm getting the following error:

1: Undefined class constant 'SPECIAL' in \vendor\anahita\anahita\src\libraries\default\base\domain\behavior\privatable.php on line 312

As you can see here (https://github.com/anahitasocial/anahita/blob/master/src/libraries/default/base/domain/behavior/privatable.php#L312), the SPECIAL constant is still being used even though it was removed sometime ago.

Should the entire if statement just be removed?

Read Less
Rastin Mehr liked this
Rastin Mehr

Rastin Mehr shared a note

Anahita 4.3.11 release is available now with a number of fixes and improvements. The focus of next maintenance release 4.3.12 will be compliance with the MySql 5.7 and further code refactor and cle... Read More
Anahita 4.3.11 release is available now with a number of fixes and improvements. The focus of next maintenance release 4.3.12 will be compliance with the MySql 5.7 and further code refactor and clean up in the core. This is part of the preparation towards using Anahita as the back-end for the React app. Read Less
Rastin Mehr

Rastin Mehr shared a note

Didn't get a chance to work on the Anahita React this weekend. Most of the focus was on preparing the 4.3.11 maintenance release. We did merge some koowa packages with Anahita and removed some unus... Read More
Didn't get a chance to work on the Anahita React this weekend. Most of the focus was on preparing the 4.3.11 maintenance release. We did merge some koowa packages with Anahita and removed some unused code. The next maintenance release will be focused on MySql 5.7 compliance and further Koowa refactor. Read Less
Rastin Mehr

Rastin Mehr shared a note

I feel like I need to do some Nooku/Koowa to Anahita refactor before tagging the next maintenance release. Before rewriting our controllers and behaviours we need to lighten up the codebase.
Rastin Mehr

Rastin Mehr shared a photo

InfiniteScroll is working as well as PersonPage container and components at the basic level. #ReactJS #MaterialUI
Umesh liked this
Rastin Mehr

Rastin Mehr commented on the to-do

Getting rid of remember me

The remember me feature seams redundant in modern social networks and removing it could simplify the authentication, session management, and performance a bit. #idea #RememberMe
Rastin Mehr
Rastin Mehr
February 12 2018 Permalink
Remember me checkboxes are removed. It is now by default keeping users logged in until they log out. I didn't remove the code that logs users back in, because it was already working efficiently.
Rastin Mehr

Rastin Mehr closed the to-do

Rastin Mehr

Rastin Mehr shared a note

Client work spilled over to weekend, but thank goodness for the long weekend. Today and tomorrow will be focused on:

1. removing remember me option from login and keeping everyone logged in unti... Read More
Client work spilled over to weekend, but thank goodness for the long weekend. Today and tomorrow will be focused on:

1. removing remember me option from login and keeping everyone logged in until they logged out.
2. implementing infinite scroll in the React app

#Anahita #Hackathon Read Less

Photos View All

Articles View All

Topics View All

To-dos View All

Powered by Anahita