These are chat archives for feroult/yawp

29th
Aug 2016
Fernando Ultremare
@feroult
Aug 29 2016 01:40
can u give me your action example? i can't understand yet :/
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 04:05
I'll show you tomorrow
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 10:03
Good morning
I want to push the API app folder to a repository but it's large, can I omit the target folder, it is generated at build time so not needed for building right? Cause the target folder takes the most of it
Also
Even without deleting anything
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 10:09
simply moving the folder to a copy errors with this
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.830 s
[INFO] Finished at: 2016-08-29T11:08:37+01:00
[INFO] Final Memory: 11M/155M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'appengine' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/walidsabihi/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
OH
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 10:14
mvn clean install fixed it lol
Fernando Ultremare
@feroult
Aug 29 2016 11:22
yeah
copy the .gitignore folder
from yawp
u shouldn't push all folders
Fernando Ultremare
@feroult
Aug 29 2016 11:32
now you have build working?
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 11:52
Yeah
Works nice
Fernando Ultremare
@feroult
Aug 29 2016 12:22
great
now u can test your yawp changes locally
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 13:41
Yeah
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 13:51
Also
Say
I want to make in my API
instead of instant account deletion
I can offer the user 1 week before the account is permanently deleted
But for that
I can sort of "Deactivate" it
And store data about it, when to delete it etc, and make a daily cron job that checks the queue right?
I see there's a cron.xml
But say I do an url there
That /_ah/ is intern right?
How can I make a page/action in it or just any solution that will make me an URL only internally accessible
Obviously I don't want it public, hmm unless I can make it provide a secret key, right?!
What do you think?
Fernando Ultremare
@feroult
Aug 29 2016 13:57
understand
understood
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 13:58
so?
what do you think
Fernando Ultremare
@feroult
Aug 29 2016 13:58
if it is an action
you can block access in the shield
when the google access a url through the cron.xml
it will run the request as an admin user
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 13:59
And how do I detect that
Fernando Ultremare
@feroult
Aug 29 2016 13:59
UserServiceFacatory.getUserService().getCurrentUser().isAdmin()
something like that
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 13:59
Alright I will check it
Also
For account deletion
I'm actually thinking of this model
Existing Account -> Set for deletion by user (AccountState: Deactivated) -> 7 days (cancellable deactivation from webapp) -> Moved to archives (AccountState: Archived) -> 30 days (recoverable from customer support) -> Permanent records deletion
Fernando Ultremare
@feroult
Aug 29 2016 14:08
nice... but sophisticated
do you need this amount of control already? or it is just for learning purposes?
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 14:09
Well
I am actually working on a project with friends
Fernando Ultremare
@feroult
Aug 29 2016 14:10
ok, your model is great... my suggestion is, try to think about of a minimum viable product
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 14:10
And this API that I'm working on right now is concerning that project, but of course I'm also learning, I've been self-taught programming since I was 10 or so haha
Fernando Ultremare
@feroult
Aug 29 2016 14:10
the minimum features that u should have to launch your first version
this is a important concept to use for every feature you are deciding to add
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 14:13
Hmm yeah
We're still new to this project stuff etc
Haha
Fernando Ultremare
@feroult
Aug 29 2016 14:13
yeah
that's why iam trying to help :D
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 14:15
Yeah thank you you seem like you know a lot that I could benefit of haha
What programming languages are you into?
Fernando Ultremare
@feroult
Aug 29 2016 15:06
well, java, javascript mostly
but i also know some c#, python, ruby
Walid Nawfal Sabihi
@LvlAndFarm
Aug 29 2016 15:23
Nice
C# my mother's programming tongue you could say ;) while JavaScript is second-nature to me Haha
The rest I know a little bit
Fernando Ultremare
@feroult
Aug 29 2016 15:47
I like c#
i don't like windows :)