I'm coming back to this because I'm still confused.
I have a remotely hosted database. I want to build an admin on top of that. That database must continue to be remotely hosted.
Can I build that admin using Directus on Cloudron?
If so, any pointers would be appreciated.
Thank you!
@dev-cb I know you've already swapped, but wish I had seen this a few days ago.
I run a slightly older version of Directus locally, but at least in it...
(1) Repeaters can't reference collections. If you want to reference other collections, you have to create a relationship (like Many-to-Many). Which is not quite as convenient, but a bit more powerful.
(2) As far as I know, nope. For this, you have to manipulate it in Gatsby. I do my manipulation in Elder.JS.
@Jeyakumarrathnaselvi said in Search typing issue - page get refresh while typing:
example if i type abcdefgh. it shows only abcdfg. e and h miss while page refresshing
where do I have to test this to reproduce this bug?
@Jeyakumarrathnaselvi Not sure what the issue is. Is there anything in the logs? If you can give me step by step instructions on how to reproduce this (for a person who doesn't know Directus much), I can try to check if this is a packaging bug.
@girish Thanks Girish. It worked. but there is a challenge with directus is they don't have an option to copy the existing layout of directus and make a small change and create it as a new extension. it doesn't help. we should develop from scratch as per them
It seems https://github.com/directus/directus/discussions/2832 suggests that database import/export is the way to go. I was hoping they have some sort of import/export data but they don't have it.
@drewhasquestions I guess you placed the extension under /app/data/extensions/hooks ? If so, can you give me something to test with and also let me know how to test it?
@timconsidine ah so you’re working on auth. I haven’t done any auth stuff in there yet but I can give it a shot at some point here. As for that script, idk I haven’t used their SDK ever. My use case involved publicly readable data so I just make a basic get request to there using the axios library
@atrilahiji Not exactly the same use case but I am unable to authenticate with the (/auth/login) endpoint using Postman. Unfortunately the Directus docs and youtube channel are not very elaborate so I am hoping for any guidance here
(Please pardon my ignorance - self taught "dev" here )
There is this
but its 3 + years old where the version used has totally different API endpoints + he uses another API testing tool for Mac...
Not sure what's wrong with my POST request
[image: 1607303845710-9c869a58-77a2-4ca5-8fb0-88d3607d75c6-image-resized.png]
Line 287: **BOLD**
if (!function_exists('create_unknown_project_app')) {
/**
* Creates a simple Application when the project name is unknown.
*
* @param string $basePath
* @param array $config
* @param array $values
*
* @return Application
*/
function create_unknown_project_app($basePath, array $config = [], array $values = [])
{
return create_default_app($basePath, $config, array_merge($values, [
'notFoundHandler' => function () {
return function () {
**throw new UnauthorizedException('Unauthorized request');**
Based off of the error / line & function its advising it cant create a new project but what does that have to do with /auth/login?
I'm lost🥴 lol!! - let me know if this should be posted in Support or another post within this section
Any help is appreciated!