drupalnorge / drupalnorge-social Goto Github PK
View Code? Open in Web Editor NEWOpen Social installasjon for Drupal Norge
Home Page: https://www.drupalnorge.no
Open Social installasjon for Drupal Norge
Home Page: https://www.drupalnorge.no
Right now embedding seems to be a sad story. Can't even embed images. oembed modules crashes my local installation completely (haven't looked much into it).
Overlaps with #8
Proposes an integration with the Drupal.org API. Let the users add their drupal.org username. And the the system will fetch all updated info from drupal.org. This will ensure that userinfo is up to date.
docs: https://www.drupal.org/drupalorg/docs/api
Exampel request: https://www.drupal.org/api-d7/user.json?name=falster
Site is using standard Drupal favicon. Will be nice to replace it with a custom favicon based on drupalnorge's logo.
My colleague was trying to log in this morning and got an unexpected error:
"Det oppstod en uventet feil på nettstedet. Prøv igjen seinere."
There are several php errors in the Drupal log about it. See https://drupalnorge.no/admin/reports/dblog?type%5B%5D=php around 07:05 this morning.
This seems like the first error message:
https://drupalnorge.no/admin/reports/dblog/event/852339
Drupalnorge.no bruker Codeship for deploy-løsningen hvor det skjer automatisk.
Utfordringen min er at av og til jobber jeg litt kjappere enn databasedumpingen. Databasedumpingen skjer ikke automatisk, men hver morgen og ikke etter hver deploy.
Er det mulig å lage en trigger at når man har gitt et nytt deploy, så lager den også et nytt sanitized database (basert på #174)? Slik at vi har de siste dumpen tilgjengelig etter deploy :)
Hva tenker dere? ;)
Not good. Should not have tags in subject
Gives context to the comment. Weird this is not default behaviour.
Not sure where to change this though (template files?)
Noticed this creating a event https://drupalnorge.no/node/add/event The site navbar in page top collide with Drupal 8 node preview mode.
Jeg oppdaget det problemet i OS 1.18, og er usikker om det var der før som i 1.17. Uansett er problemet når man trykker på Søke-loupe ikonet - der kom sånn animasjon, men for å søke funker det ikke.
Jeg er litt usikker hvor årsaken ligger, men jeg tenke tror kanskje det er noe themeing som skaper noe feil her.
Fint om dere kan hjelpe til å feilsøke det problemet! :)
Hei,
#174 fungerer veldig fint, men utfordrning er hvis flere oppdatering eller trenger en ny database dump underveis av dagen.
Databasedump lages på en server hos NyMedia som jeg har forstått riktig, så det har ikke jeg eller vi tilgang til. Derfor lurer jeg på om er det mulig vi kan lage noe script eller sånn cron-kommando hvor vi kan evt gå til et bestemt [IP-address eller domenenavn]/tanydb-drupalnorge
når som helst?
search string used: chart
error output:
Det oppstod en uventet feil på nettstedet. Prøv igjen seinere.
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "view.search_groups.page" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 187 of core/lib/Drupal/Core/Routing/RouteProvider.php).
Drupal\Core\Menu\LocalTaskDefault->getRouteParameters(Object) (Line: 310)
Drupal\Core\Menu\LocalTaskManager->getTasksBuild('view.search_content.page', Object) (Line: 358)
Drupal\Core\Menu\LocalTaskManager->getLocalTasks('view.search_content.page', 0) (Line: 94)
Drupal\Core\Menu\Plugin\Block\LocalTasksBlock->build() (Line: 203)
Drupal\block\BlockViewBuilder::preRender(Array)
call_user_func('Drupal\block\BlockViewBuilder::preRender', Array) (Line: 376)
Drupal\Core\Render\Renderer->doRender(Array) (Line: 448)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 468)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 84)
__TwigTemplate_aebd0f6e35ab8f97dc3faa8d47ea7b1cf63078297f60bbe47352daf625b156fe->doDisplay(Array, Array) (Line: 396)
Twig_Template->displayWithErrorHandling(Array, Array) (Line: 364)
Twig_Template->display(Array) (Line: 375)
Twig_Template->render(Array) (Line: 64)
twig_render_template('profiles/contrib/social/themes/socialbase/templates/layout/page.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('page', Array) (Line: 435)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 468)
Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 93)
__TwigTemplate_57c5aef71d25fc70104af0e339f0f51e9313cd092de009415fd74aa7d98b089b->doDisplay(Array, Array) (Line: 396)
Twig_Template->displayWithErrorHandling(Array, Array) (Line: 364)
Twig_Template->display(Array) (Line: 375)
Twig_Template->render(Array) (Line: 64)
twig_render_template('profiles/contrib/social/themes/socialbase/templates/system/html.html.twig', Array) (Line: 384)
Drupal\Core\Theme\ThemeManager->render('html', Array) (Line: 435)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer->render(Array) (Line: 147)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent{closure}() (Line: 574)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 148)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.view', Object) (Line: 149)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 64)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 654)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
` Det oppstod en uventet feil på nettstedet. Prøv igjen seinere.
Drupal\Core\Entity\EntityStorageException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'maer-nb' for key 'user__name': INSERT INTO {users_field_data} (uid, langcode, preferred_langcode, preferred_admin_langcode, name, pass, mail, timezone, status, created, changed, access, login, init, default_langcode) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10, :db_insert_placeholder_11, :db_insert_placeholder_12, :db_insert_placeholder_13, :db_insert_placeholder_14); Array ( [:db_insert_placeholder_0] => 1326 [:db_insert_placeholder_1] => nb [:db_insert_placeholder_2] => nb [:db_insert_placeholder_3] => nb [:db_insert_placeholder_4] => ma****er [:db_insert_placeholder_5] => $S$ExytrRp5DCn9xjafWwZgJiTPkoC0cMDTRJVYPJZg.iTN6Jm4kWFi [:db_insert_placeholder_6] => ma[email protected] [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 1 [:db_insert_placeholder_9] => 1481189185 [:db_insert_placeholder_10] => 1481189199 [:db_insert_placeholder_11] => 0 [:db_insert_placeholder_12] => 0 [:db_insert_placeholder_13] => ma*******[email protected] [:db_insert_placeholder_14] => 1 ) in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 770 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
Drupal\Core\Database\Statement->execute(Array, Array) (Line: 610)
Drupal\Core\Database\Connection->query('INSERT INTO {users_field_data} (uid, langcode, preferred_langcode, preferred_admin_langcode, name, pass, mail, timezone, status, created, changed, access, login, init, default_langcode) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10, :db_insert_placeholder_11, :db_insert_placeholder_12, :db_insert_placeholder_13, :db_insert_placeholder_14)', Array, Array) (Line: 87)
Drupal\Core\Database\Driver\mysql\Connection->query('INSERT INTO {users_field_data} (uid, langcode, preferred_langcode, preferred_admin_langcode, name, pass, mail, timezone, status, created, changed, access, login, init, default_langcode) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10, :db_insert_placeholder_11, :db_insert_placeholder_12, :db_insert_placeholder_13, :db_insert_placeholder_14)', Array, Array) (Line: 32)
Drupal\Core\Database\Driver\mysql\Insert->execute() (Line: 917)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->saveToSharedTables(Object) (Line: 855)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->doSaveFieldItems(Object, Array) (Line: 27)
Drupal\user\UserStorage->doSaveFieldItems(Object) (Line: 263)
Drupal\Core\Entity\ContentEntityStorageBase->doSave(NULL, Object) (Line: 392)
Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 761)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->save(Object) (Line: 364)
Drupal\Core\Entity\Entity->save() (Line: 92)
Drupal\user\RegisterForm->save(Array, Object)
call_user_func_array(Array, Array) (Line: 111)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 583)
Drupal\Core\Form\FormBuilder->processForm('user_register_form', Array, Object) (Line: 314)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 74)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}() (Line: 574)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber{closure}()
call_user_func_array(Object, Array) (Line: 144)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 64)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 654)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19) `
You might know that Drupal Association just announced a partnership with GitLab to modernize the developer tools on Drupal.org. So all their projects will move over to GitLab the next several months.
I was wondering should we consider to do the same with this one repo once the Drupal.org's migration to GitLab is successful? Maybe it would be even easier for us to work with the project when Drupal is using GitLab. Maybe between these two have a better way to syncs between the repos.
I am not sure if Drupal.org will use GitLab's Saas or own GitLab-server. So it would be great to wait once we have the answer to that.
Another question: If either Saas or their own-server, should we have this repo like our own repo such as we are doing today on GitHub or move within Drupal.org like a project? I was thinking if GitLab is very syncable and Drupal.org are using all/almost all the tools from GitLab then we can work better with the Drupal project, and it gives us credit (if it still offers when Drupal is using GitLab).
What is your thought about that/Hva tenker dere om det?
Using @[username] in a post doesn't fully work currently. Live search for the user works, but name with link does not display after posting. Shows [~1633] instead of actual name. Not sure if notification is received @eiriksm? Tested here: https://drupalnorge.no/group/3/stream
Hei,
Jeg lurer på faktisk om trenger vi drupal/social
i vår composer.json
? Også jeg finner ikke årsaken til hvorfor vi må ha drupal/social
i composer.json
. 🤔
Noen ganger har jeg utfordring med å oppdaterer til en nyere versjon hvis jeg har allerede gjennomført f.eks.
composer install
composer require goalgorilla/open_social:3.2 drupal/social:3.2 --update-with-dependencies
Når jeg gjørt det, da får jeg drupal inni drupalprofilen. 😅
Derfor forslår jeg å fjerne den siden den er ikke inni https://github.com/goalgorilla/social_template/blob/master/composer.json som vi bruker den. Vil gjerne ta opp med dere før vi gjør noe siden jeg var ikke med i begynnelsen. 🤓
Daniel and me just tested the email notifications for posts you are following. No emails received.
Daniel also checked the "Forgot password?"-functionality to confirm that the server sends emails at all. That worked fine.
Email notifications for topics, groups, etc needs fixing.
Dei ser berre hovudinnlegga og må registrera seg/logga seg inn for å sjå kommentarane.
Hvordan eksporteres automatisk og regelmessig en sanitized database?
Er det noe vi kan få til med cron med drush eller lage en sånn egen script? Kan man kombinere med sqlsan og sql-dump? Noen som har ide?
Jeg tenke at vi kunne slippe å gjøre manuelt ved å duplikate DB, sql-sanitize den, deretter dump og overfør den til drupalnorge.no/sanitized.db - enig?
Noen kollegaer av meg prøvde å logge seg inn å drupalnorge.no idag, og får "Unexpected error" ved innlogging. Deretter får de unexpected error på alle andre sider også.
I menyen Hovednavigasjon, som et underpunkt til Utforsk, så er det en lenke "Alle lenker" (All Topics) som er død. Manglende View eller feilkonfigurert?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.