Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • #1754/migrate-logincest
  • 1015-lanquage-switcher-improvement
  • 1294-the-topbar-region-name-has-impact-for-the-usage
  • 1321_extend_refactor_api_store_for_current_foodsaver
  • 1390-fix-504-error_for-page_msg
  • 1461-martincodes-Messages-to-the-same-food-saver-are-not-displayed-in-the-same-message-history
  • 1496-pagination-store-api
  • 1496-pagination-store-api-2
  • 1496-pagination-store-api-3
  • 1514-event-creation-fix
  • 1533-cache-api/stores/meta-data
  • 1544-store_log_timeshift
  • 1546-beginner-friendly-docs
  • 1559-render-custom-error-pages
  • 1596-footer-inkonsistence-no-social-media-visible-for-at
  • 1646
  • 1664-prepare-store-backend-to-search-for-stores
  • 1666-convert-the-quiz-module-to-vue-rest-api
  • 1677-add-storelog-for-delete-slot-and-edit-regular-pickups
  • 1691-karl-grossmann-profile-verbing
  • 1723-kettenubersicht-d-a-und-ch
  • 1743-introduce-abbreviated-numbers-instead-of-large-exact-ones-like-328491
  • 1748-long-press-on-reaction-on-mobile-makes-no-sense
  • 1749-lazy-load-conversations
  • 1759-new-map-layer-foodsavers-for-ambs
  • 1769-clean-up-access-to-session
  • 1769-clean-up-access-to-session-2
  • 1769_extractRegionManagementFromSession
  • 1769_provide_session_has_helper
  • 1776-border-for-avatars-on-the-dashboard-is-too-small
  • 1778-script-test-sh-selection-of-test-categories-and-classes-is-broken
  • 1825-missing-warning-if-foodsaver-to-be-deleted-is-still-in-slot-2
  • 1838-changing-subpages-without-reload
  • 1861-add-unit-tests-for-BellTransactions
  • 1866-include-group-edit-in-region-page
  • 1897-when-editing-a-foodbasket-the-setting-for-adresse-use-home-address-is-disabled
  • 1921-type-error-in-getListOfStoreStatusForUser
  • 1926-martincodes-follow-foodsharepoint-doesn-t-work-no-mail-no-bell
  • 1936-follow-up-after-profile-to-vue-refactoring
  • 1936-follow-up-after-profile-to-vue-refactoring-2
  • 1938-make-use-of-abstractfoodsharingrestcontroller-workgroup
  • 1967-promt-users-if-they-want-push-notifications
  • 1967-promt-users-if-they-want-push-notifications-2
  • 1968-missing-limitation
  • 1973-foodsaver_store_activity
  • 1977-missing-value-in-store-weight-dropdown
  • 1977-missing-value-in-store-weight-dropdown-2
  • 1981_extract_CSRF
  • 1985-enforce-email-activation
  • 1986-2fa-implementation
  • 2002-typeerror-foodsharing-modules-group-groupfunctiongateway-existregionfunctiongroup-argument-1
  • 2010-handle-store-walls-like-other-walls
  • 2014-registration-password-trim-error
  • 2017-allow-applying-to-store-using-text
  • 2030-fix-http-error-403-during-get-https-beta-foodsharing-de-api-conversations-id
  • 2042-fix-ambiguous-text-for-sending-mails
  • 2045-prepare-coverage-for-developers-on-gitpod
  • 2050-migrate-firebase
  • 2054_alternate__darkmode
  • 2054_darkmode_ohne_pinia
  • 2058-foodbasket-time-can-be-left-out-in-overwiew-and-missing-date-in-detail-view
  • 2071-show-the-mailbox-of-mails-in-the-search-result
  • 2084_t.user.name
  • 2101-clear-textfield-after-sending-a-message-in-a-chat
  • 2105-production-recieve-bcc-mails
  • 2105-recieve-bcc-mails
  • 2115-fix-chat-pinia
  • 2143-wallet-improvements
  • 2222-typeerror-cannot-assign-null-to-property-foodsharing-modules-foodsaver-profile-id-of-type-int
  • 2232-module-for-selbstauskunft-nach-15-dsgvo
  • 2232-selbstauskunft
  • 2232-self-information
  • 2267-remove-sleep-status-on-delete
  • 2273-foodsharer-missing-posts-number
  • 2299-new-multi-stage-apply-process-for-stores
  • 2300-extending-the-stickers-for-store-pairing
  • 2302-move-support_url-to-config
  • 2303-dead-link-in-dev-docs
  • 2329-email-password-cannot-be-changed-in-profile-settings
  • 2329-fix-email-password-changing
  • 2369-store-information-is-not-editable
  • 2372-fix-blog
  • 2374-automatic-removal-of-inactive-members
  • 2375-type-error-events-without-proper-address
  • 2380-fix-missing-translation-confirmateionDialogue
  • 304-define-three-store-types
  • 33-remove-sticker-and-presse-column-in-betrieb
  • 485-allow-bots-and-store-coordination-to-delete-stores-that-never-had-a-pickup
  • 530-add-replyto
  • 745_km_no_amp
  • 786-prevent-show_closed-store
  • 810-drop-off-points
  • 939-add-fsp-dto
  • 977-fs_store_log-date_reference-to-pickup-time-is-2-hours-off
  • Configuration-for-startpage-works-only-for-DE
  • Disable-email-notifications-for-new-Topics-in-region-forums
  • Feature/PT-UpdateSocketIO
  • Feature/PT-updateSentryVue7
  • Feature/ci-code-coverage
  • Feature/markdown-preview-modal
  • 2017-10-18
  • 2017-12-12
  • 2018-03-01
  • 2018-03-05
  • 2018-05-24
  • 2018-07-19
  • 2018-08-18
  • 2018-12-24
  • 2019-02-21
  • 2019-05-17
  • 2019-10-06
  • 2020-01-25
  • 2020-01-26
  • 2020-05-15
  • 2020-06-15
  • 2020-07-15
  • 2020-08-09
  • 2020-08-11
  • 2020-10-11
  • 2021-09-24
  • 2022-01-13
  • 2022-05-01
  • 2022-12-18
  • 2023-09-09
  • 2023-09-10
  • 2024-01-21
  • 2024-05-07
  • 2024-08-22
  • 2024-12-22
  • saas-linux-large-amd64
130 results

Target

Select target project
  • foodsharing-dev/foodsharing
  • alpha-chicken/foodsharing
  • depate/foodsharing
  • dthulke/foodsharing
  • corbolais/foodsharing
  • jentsch.michael/foodsharing
  • abejaranoh/foodsharing
  • WUUUGI/foodsharing
  • JonasBoewer/foodsharing
  • pauleweb/foodsharing
  • sp00p/foodsharing
  • dahse89/foodsharing
  • UFHH01/foodsharing
  • fgulbakir/foodsharing
  • katleesi/foodsharing
  • scfount/foodsharing
  • Laura.cyprian/foodsharing
  • ulrike.f/foodsharing
  • Krunchjo/foodsharing
  • CHECKJonas/foodsharing
  • tinuthir/foodsharing
  • lizhengdao/foodsharing
  • KatharinaMoel/foodsharing
  • stepin/foodsharing
  • weblate/foodsharing
  • teresaher2/foodsharing
  • blinry/foodsharing
  • maktooob/foodsharing
  • armbiant/gnome-go-foodsharing
  • tobiaskohlbau/foodsharing
  • Buntelrus/foodsharing
  • vitorzago/foodsharing
  • kingu/foodsharing
  • tutNichts/foodsharing
  • yvonnecholewik/foodsharing
  • Nudin/foodsharing
  • FreyJo/foodsharing
  • BlackScorp/foodsharing
  • viveknshah/foodsharing
  • FlorianMaak/foodsharing
  • poorandweird/foodsharing
  • Friedrich-B/foodsharing
  • viper-kun/foodsharing
  • schanso/foodsharing
  • ThussiJ/foodsharing
  • newphonenewlife66/foodsharing
  • trippincode/foodsharing-fork
  • superernie77/foodsharing
  • zaurask/foodsharing
  • DiDoHH/foodsharing
  • powerdan/foodsharing
  • nmiddelmann/foodsharing
  • c-h-i-c-k-e-n/foodsharing
  • EvrenAlp/foodsharing
  • Nika-Mel/foodsharing
  • robinkernel/foodsharing
  • andre161292/foodsharing
  • castn/foodsharing
  • skurka/foodsharing
  • xboutaj/foodsharing
  • armbian33/gnome-rust-foodsharing
61 results
Select Git revision
  • #1754/migrate-logincest
  • 1015-lanquage-switcher-improvement
  • 1294-the-topbar-region-name-has-impact-for-the-usage
  • 1321_extend_refactor_api_store_for_current_foodsaver
  • 1390-fix-504-error_for-page_msg
  • 1461-martincodes-Messages-to-the-same-food-saver-are-not-displayed-in-the-same-message-history
  • 1496-pagination-store-api
  • 1496-pagination-store-api-2
  • 1496-pagination-store-api-3
  • 1514-event-creation-fix
  • 1533-cache-api/stores/meta-data
  • 1544-store_log_timeshift
  • 1546-beginner-friendly-docs
  • 1559-render-custom-error-pages
  • 1596-footer-inkonsistence-no-social-media-visible-for-at
  • 1646
  • 1664-prepare-store-backend-to-search-for-stores
  • 1666-convert-the-quiz-module-to-vue-rest-api
  • 1677-add-storelog-for-delete-slot-and-edit-regular-pickups
  • 1691-karl-grossmann-profile-verbing
  • 1723-kettenubersicht-d-a-und-ch
  • 1743-introduce-abbreviated-numbers-instead-of-large-exact-ones-like-328491
  • 1748-long-press-on-reaction-on-mobile-makes-no-sense
  • 1749-lazy-load-conversations
  • 1759-new-map-layer-foodsavers-for-ambs
  • 1769-clean-up-access-to-session
  • 1769-clean-up-access-to-session-2
  • 1769_extractRegionManagementFromSession
  • 1769_provide_session_has_helper
  • 1776-border-for-avatars-on-the-dashboard-is-too-small
  • 1778-script-test-sh-selection-of-test-categories-and-classes-is-broken
  • 1825-missing-warning-if-foodsaver-to-be-deleted-is-still-in-slot-2
  • 1838-changing-subpages-without-reload
  • 1861-add-unit-tests-for-BellTransactions
  • 1866-include-group-edit-in-region-page
  • 1897-when-editing-a-foodbasket-the-setting-for-adresse-use-home-address-is-disabled
  • 1921-type-error-in-getListOfStoreStatusForUser
  • 1926-martincodes-follow-foodsharepoint-doesn-t-work-no-mail-no-bell
  • 1936-follow-up-after-profile-to-vue-refactoring
  • 1936-follow-up-after-profile-to-vue-refactoring-2
  • 1938-make-use-of-abstractfoodsharingrestcontroller-workgroup
  • 1967-promt-users-if-they-want-push-notifications
  • 1967-promt-users-if-they-want-push-notifications-2
  • 1968-missing-limitation
  • 1973-foodsaver_store_activity
  • 1977-missing-value-in-store-weight-dropdown
  • 1977-missing-value-in-store-weight-dropdown-2
  • 1981_extract_CSRF
  • 1985-enforce-email-activation
  • 1986-2fa-implementation
  • 2002-typeerror-foodsharing-modules-group-groupfunctiongateway-existregionfunctiongroup-argument-1
  • 2010-handle-store-walls-like-other-walls
  • 2014-registration-password-trim-error
  • 2017-allow-applying-to-store-using-text
  • 2030-fix-http-error-403-during-get-https-beta-foodsharing-de-api-conversations-id
  • 2042-fix-ambiguous-text-for-sending-mails
  • 2045-prepare-coverage-for-developers-on-gitpod
  • 2050-migrate-firebase
  • 2054_alternate__darkmode
  • 2054_darkmode_ohne_pinia
  • 2058-foodbasket-time-can-be-left-out-in-overwiew-and-missing-date-in-detail-view
  • 2071-show-the-mailbox-of-mails-in-the-search-result
  • 2084_t.user.name
  • 2101-clear-textfield-after-sending-a-message-in-a-chat
  • 2105-production-recieve-bcc-mails
  • 2105-recieve-bcc-mails
  • 2115-fix-chat-pinia
  • 2143-wallet-improvements
  • 2222-typeerror-cannot-assign-null-to-property-foodsharing-modules-foodsaver-profile-id-of-type-int
  • 2232-module-for-selbstauskunft-nach-15-dsgvo
  • 2232-selbstauskunft
  • 2232-self-information
  • 2267-remove-sleep-status-on-delete
  • 2273-foodsharer-missing-posts-number
  • 2299-new-multi-stage-apply-process-for-stores
  • 2300-extending-the-stickers-for-store-pairing
  • 2302-move-support_url-to-config
  • 2303-dead-link-in-dev-docs
  • 2329-email-password-cannot-be-changed-in-profile-settings
  • 2329-fix-email-password-changing
  • 2369-store-information-is-not-editable
  • 2372-fix-blog
  • 2374-automatic-removal-of-inactive-members
  • 2375-type-error-events-without-proper-address
  • 2380-fix-missing-translation-confirmateionDialogue
  • 304-define-three-store-types
  • 33-remove-sticker-and-presse-column-in-betrieb
  • 485-allow-bots-and-store-coordination-to-delete-stores-that-never-had-a-pickup
  • 530-add-replyto
  • 745_km_no_amp
  • 786-prevent-show_closed-store
  • 810-drop-off-points
  • 939-add-fsp-dto
  • 977-fs_store_log-date_reference-to-pickup-time-is-2-hours-off
  • Configuration-for-startpage-works-only-for-DE
  • Disable-email-notifications-for-new-Topics-in-region-forums
  • Feature/PT-UpdateSocketIO
  • Feature/PT-updateSentryVue7
  • Feature/ci-code-coverage
  • Feature/markdown-preview-modal
  • 2017-10-18
  • 2017-12-12
  • 2018-03-01
  • 2018-03-05
  • 2018-05-24
  • 2018-07-19
  • 2018-08-18
  • 2018-12-24
  • 2019-02-21
  • 2019-05-17
  • 2019-10-06
  • 2020-01-25
  • 2020-01-26
  • 2020-05-15
  • 2020-06-15
  • 2020-07-15
  • 2020-08-09
  • 2020-08-11
  • 2020-10-11
  • 2021-09-24
  • 2022-01-13
  • 2022-05-01
  • 2022-12-18
  • 2023-09-09
  • 2023-09-10
  • 2024-01-21
  • 2024-05-07
  • 2024-08-22
  • 2024-12-22
  • saas-linux-large-amd64
130 results
Show changes
Commits on Source (4)
......@@ -67,9 +67,12 @@
- Clear browser cache when logging out to prevent cached data leaking into next logged in session !3024 @AntonBallmaier
- Center Team member images properly !3037 @AntonBallmaier
- Only load user details when logged in !1798 @alex.simm
- Optimized width of store and dashboard !3053 @chriswalg
- Fix saving regular pickups !3060 @AntonBallmaier
- Fix for arbitration report overview !3062 @fs_k
## Refactoring
- Refactor mailbox modul to vue and rest api !2580 !2870 !2871 !2918 !2934 !2971 !3002 @chriswalg @alex.simm
- Refactor mailbox modul to vue and rest api !2580 !2870 !2871 !2918 !2934 !2971 !3002 !3058 @chriswalg @alex.simm
- Use REST for quickreplying to wall posts !2795 @alex.simm
- Cleaned up a lot of core code all over the place !2738 @\_fridtjof_
- Preparations to routing/link building code for future porting to Symfony controllers !2738 @\_fridtjof_
......
......@@ -63,6 +63,7 @@
:placeholder="$i18n('mailbox.tag_recipient_hint')"
class="form-control"
v-on="inputHandlers"
@focusout="addTag()"
/>
<b-input-group-append>
<b-button
......
......@@ -26,8 +26,8 @@
</b-row>
<div
v-for="(item, key, index) in editPickupsCopied"
:key="key"
v-for="(item, index) in editPickups"
:key="index"
>
<br v-if="index !== 0">
<b-row class="pb-1">
......@@ -106,7 +106,7 @@
variant="danger"
:hidden="!editMode"
size="sm"
@click="removePickup(key)"
@click="removePickup(index)"
>
<i class="fa fa-trash" />
</b-button>
......@@ -125,13 +125,12 @@
</template>
<script>
import Vue from 'vue'
import i18n, { locale } from '@/helper/i18n'
export default {
props: {
loadedPickups: {
type: [Array, Object],
type: Array,
default: () => [],
required: true,
},
......@@ -140,7 +139,7 @@ export default {
},
data () {
return {
editPickupsCopied: {},
editPickups: [],
minCountPickupSlot: 1,
weekdays: [
{ value: 1, text: this.$i18n('date.monday') },
......@@ -170,42 +169,33 @@ export default {
watch: {
loadedPickups: {
handler (newValue) {
this.editPickupsCopied = [...newValue]
this.editPickups = JSON.parse(JSON.stringify(newValue))
},
immediate: true,
},
editPickupsCopied () {
this.$emit('update:editPickups', this.editPickupsCopied)
editPickups () {
this.$emit('update:editPickups', this.editPickups)
},
},
async created () {
this.editPickupsCopied = this.loadedPickups
},
methods: {
removePickup (key) {
Vue.delete(this.editPickupsCopied, key)
this.editPickups.splice(key, 1)
},
timeParser (value) {
return value ? value + ':00' : ''
},
addNewItem () {
const selectedWeekdays = Object.values(this.editPickupsCopied).map(item => item.weekday)
const selectedWeekdays = Object.values(this.editPickups).map(item => item.weekday)
const availableWeekdays = this.weekdays.filter(weekday => !selectedWeekdays.includes(weekday.value))
const nextWeekday = availableWeekdays[0]?.value ?? 1
const newIndex = Object.keys(this.editPickupsCopied).length
const newPickup = {
weekday: nextWeekday,
startTimeOfPickup: this.timeParser('10:30'),
maxCountOfSlots: this.minCountPickupSlot,
}
const updatedPickups = {
...this.editPickupsCopied,
[`${newIndex}`]: newPickup,
}
this.editPickupsCopied = updatedPickups
this.editPickups.push(newPickup)
},
},
}
......
......@@ -423,6 +423,7 @@
</b-tab>
</b-tabs>
<b-button
v-if="mayEditStore"
variant="primary"
@click="submit"
>
......@@ -465,13 +466,12 @@ export default {
mayEditStore: { type: Boolean, default: null },
isCoordinator: { type: Boolean, default: null },
isVerified: { type: Boolean, default: null },
loadedPickups: { type: Array, default: () => { return [] } },
loadedPickups: { type: Array, default: () => [] },
},
data () {
return {
editMode: false,
editPickups: {},
previousEditPickups: null,
editPickups: [],
selectedWeekDay: null,
foodSearchCriteriaField: '',
storeFoodNames: [],
......@@ -552,8 +552,7 @@ export default {
// Load data
this.store = this.storeInformation
this.editMode = (this.mayEditStore || this.isCoordinator)
this.editPickups = this.loadedPickups
this.previousEditPickups = this.simpleClone(this.loadedPickups)
this.editPickups = this.simpleClone(this.loadedPickups)
if (this.store.categoryId === null) {
this.store.categoryId = 0
......@@ -577,11 +576,7 @@ export default {
dispatchResize () {
window.dispatchEvent(new Event('resize'))
},
isUpdatedRegularPickup () {
return JSON.stringify(this.editPickups) !== JSON.stringify(this.previousEditPickups)
},
async submit (bvModalEvent) {
bvModalEvent.preventDefault()
async submit () {
if (!this.publicInfoState) {
pulseError(this.$i18n('storeview.invalid_field'))
return
......@@ -594,9 +589,10 @@ export default {
delete store.region
store.groceries = this.storeFoodIds
await updateStore(store)
// TODO only send updates when neccessary
if (JSON.stringify(this.loadedPickups) !== JSON.stringify(this.editPickups)) {
await editRegularPickup(this.storeId, this.editPickups)
await PickupsData.mutations.loadPickups(this.storeId)
await PickupsData.mutations.fetchRegularPickup(this.storeId)
}
pulseSuccess(this.$i18n('storeedit.edit_success'))
this.$bvModal.hide('storeInformationModal')
} catch (err) {
......
<template>
<section
v-if="user"
class="container my-3 my-sm-5"
class="container my-3 my-sm-5 p-0"
>
<div class="mb-1 mb-sm-3">
<Broadcast
......
<template>
<section
v-if="storeInformation"
class="container my-3 my-sm-5"
class="container my-3 my-sm-5 p-0"
>
<b-tabs
content-class="mt-3"
......
......@@ -251,8 +251,8 @@ class ReportGateway extends BaseGateway
$query->andWhere($query->expr()->notIn('r.foodsaver_id', $excludeReportsWithUsers));
}
if (!empty($onlyReportsWithUsers)) {
$query->andWhere($query->expr()->notIn('r.reporter_id', $onlyReportsWithUsers));
$query->orWhere($query->expr()->notIn('r.foodsaver_id', $onlyReportsWithUsers));
$query->andWhere($query->expr()->In('r.reporter_id', $onlyReportsWithUsers));
$query->orWhere($query->expr()->In('r.foodsaver_id', $onlyReportsWithUsers));
}
// restrict access only to new reports to avoid social conflicts from old entries
......
......@@ -74,7 +74,7 @@
{{ _main|raw }}
</main>
{% else %}
<main id="main" class="container">
<main id="main" class="container p-0">
{% include 'partials/breadcrumbs.twig' with { items: bread } %}
{% if _top is not empty %}
<div class="pure-g">
......@@ -119,7 +119,7 @@
{% endif %}
{% if _main is not empty %}
<div class="pure-u-1 pure-u-md-{{ contentMainWidth(_left is not empty, _right is not empty, content.left.width, content.right.width, 24) }}-24">
<div class="inside">
<div class="inside p-0">
{{ _main|raw }}
</div>
</div>
......