Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving package search similar to the packagist search. #86

Closed
liuggio opened this issue Nov 8, 2013 · 5 comments
Closed

Improving package search similar to the packagist search. #86

liuggio opened this issue Nov 8, 2013 · 5 comments

Comments

@liuggio
Copy link
Member

liuggio commented Nov 8, 2013

Could be great use the packagist api in order to serve a better search using ajax.

@hpatoio
Copy link
Contributor

hpatoio commented Nov 25, 2013

Hello, is it ok to solve this with "select2" http://ivaynberg.github.io/select2/#ajax ?

@liuggio
Copy link
Member Author

liuggio commented Nov 25, 2013

yes it is!

@hpatoio
Copy link
Contributor

hpatoio commented Nov 25, 2013

Packagist web server doesn't have "Access-Control-Allow-Origin" header, so I can't load data directly.

How do you want to solve this ?

  • Add a web server rule to proxy requests to packagist.org website
  • Add a SF2 action that route requests to packagist.org
  • Ask someone at Packagist.org to allow requests from poser.pugx.org

Let me know.

@liuggio
Copy link
Member Author

liuggio commented Nov 25, 2013

👍 2nd solution

@giorrrgio
Copy link
Member

2nd solution 👍

liuggio added a commit that referenced this issue Jan 13, 2014
@liuggio liuggio closed this as completed Jan 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants