parse-server

mailgun/parse-server(heroku) not working

点点圈 提交于 2019-12-11 09:49:38
问题 Having two iOS apps (let us name them appA and appB) both using parse-server hosted on heroku and mailgun , I am facing the problem describe hereafter. Let me first say that the two apps are unrelated except for the fact they both have user accounts and mail mailgun is used on both to send a confirmation mail when a user creates an account. appA is working fine, meaning confirmation mail is sent when a new account is created. But appB is no longer working, meaning no confirmation mail is sent

Link inside verification-mail not working

回眸只為那壹抹淺笑 提交于 2019-12-11 08:04:20
问题 Could somebody explain, or better tell me how to fix this problem? The link found in the "account creation verification email" on Parse-Server (/Heroku), is not working. The relevant code in index.js is like this: var api = new ParseServer({ databaseURI: ....., cloud: ....., appId: ....., .......... publicServerURL: process.env.PARSE_PUBLIC_SERVER_URL || 'https://myapp.herokuapp.com', appName: 'WonderApp', .......... verifyUserEmails: true, emailAdapter: { module: 'parse-server-mailgun',

Notice: Undefined variable - WordPress / Parse Server Plugin - PHP Error

北城余情 提交于 2019-12-11 05:46:31
问题 So I'm putting together a WordPress plugin for a client based on this Github project, which would allow you to pull in posts from WordPress. Basically I pulled down the project and I had several errors. I've been tackling them one at a time. I had posted a question here before in relation to the first error in the bunch. I took the advice from user 'dipmala' and address that issue but now have this new issue that pops up when I try to run the 'sync' function. Notice: Undefined variable:

Parse server configuration with android app

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 05:45:49
问题 I recently set up local parse server on my machine following the github instructions on PARSE SERVER EXAMPLE repo. My server is up and running i have included the Parse.Initialise function in Main Activity.java file (See Screenshot)[MainActivity.java][1] Question 1: The app_id env variable in parse. Initialise corresponds to app id set in index.js file of parse server example question2: If my configuration is correct then why is the app not storing the data object on the server.?How to check

PostgreSQL - create an auto-increment column for non-primary key

你。 提交于 2019-12-11 01:36:57
问题 I am with PostgreSQL 9.5 X64 integrated with the open-source Parse Server. My table has the following structure. objectId (text with fixed 10 characters), item_id (integer), item_name (text with various length) The objectId is the primary key due to use of Parse Server. It is automatically generated by Parse Server. The item_id is not a primary key. I would like to have item_id automatically increment by 1 when a new record is created. How can this be achieved in Create Table? 回答1: You may

I am getting the Heroku H12 - Request timeout error for no apparent reason

北城余情 提交于 2019-12-10 12:10:55
问题 In my parse server I have a class called Stats which contains the column timeScore (number) I am using cloud code to update all 250k rows in the column timeScore . My code works well except for the fact that I get the following H12 - Request timeout error for no apparent reason. heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/parse/functions/timeScore I get the timeout error regardless of what batchSize I choose and I get it every 30 seconds. I get it for a total

Swift Delete multiple objects at once Parse server

ε祈祈猫儿з 提交于 2019-12-10 06:02:43
问题 I query to the server following let query = PFQuery(className: "posts") query.whereKey("uuid", equalTo: Ncell.uuidLbl.text!) query.findObjectsInBackground { (objects:[PFObject]?, error:Error?) in if error == nil { for object in objects! { object.deleteInBackground(block: { (success:Bool, error:Error?) in if success{ } }) } } } Rather than using a loop and deleting each object individually, I want to know if it would be possible to delete all the found objects at once to save on requests. 回答1:

Custom authentication integration with parse-server and auth0

牧云@^-^@ 提交于 2019-12-08 17:38:12
问题 I would like to use auth0.com in conjunction with the open source-parse server. My current approach is to obtain the token from auth0 by using their standard login through the Lock library for iOS. With that token I would like to call a custom authentication method on my parse-server, that checks whether the token is valid and if it is will log in the user. My problem is that there is almost no documentation on writing custom oauth for parse-server. So far, I have this code for my custom auth

disable default user authentication in parse server

回眸只為那壹抹淺笑 提交于 2019-12-08 13:48:36
问题 How can we prevent user from signing up with username and password? we want our users to only login with account kit and don't want someone try to sign up with email address or other login methods. we don't provide this as our auth but someone can create a custom login code and try to manipulate our parse server to bypass the auth method. oauth: { accountkit: { appIds: '', appSecret: '' }, **email: false** }, is there any option to disable legacy signup method? (email: false)? 回答1: you can

Android- java : querying in parse database

六月ゝ 毕业季﹏ 提交于 2019-12-08 13:26:59
问题 In my app I use parse database. I want to invite people for a meeting ,but I want to remove invite button from current user. I'm using if condition to do that but it is not working. I'm querying a column in parse database, the column name is "sender" Parse Database Table name is Meeting below is my if condition . i want to get current user somehow to put inside if condition . if anyone knows help me ? the function I expect is if current user is equal to sender , invite button should be